summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-10-05 15:59:49 -0700
committerJakub Kicinski <kuba@kernel.org>2026-10-05 15:59:50 -0700
commit6e08f7c73c54b222c956be2d308721a3b6994651 (patch)
treefb7e08c8256896029c017a70d20c3c0ddc2c02bf /tools/lib/python/kdoc/python_version.py
parent9a550198d4243228b1258bf865044951eee27af3 (diff)
parentab1f1ed8e0bbd7721240fce0150194b232121f19 (diff)
Merge branch 'net-psp-require-an-established-connection-for-association-setup'
Daniel Zahka says: ==================== net: psp: require an established connection for association setup This series removes support for using PSP's assoc uapi on TCP sockets not in established state. The PSP uapi and connection upgrade described in psp.rst is only fleshed out for established TCP connections. Installing PSP assoc state on a listen socket, or closed socket ahead of connect() is possible, but not something that results in useful outcomes. With commit 8cc3aef0cb19 ("tcp: Do not allow buggy transitions between ehash and lhash2.") in place, this series makes it impossible to have PSP assoc state on a listen socket. It is still possible to have a closed socket with assoc state by terminating a connection with shutdown(), but the series then adds code to prevent subsequent calls to connect() from succeeding. Patch two updates psp.rst to discuss what this means for users. The first patch converts some tests that used TCP_CLOSE sockets for basic uapi tests with connected sockets, so that the subsequent commit doesn't break them. The second patch introduces the actual checks on sk->sk_state during the rx and tx assoc handlers, as well as preventing connect() attempts when assoc state is already present. The commit message contains my argument for why removing these "features" is appropriate and doesn't constitute a fix. The third patch unwinds commit 1d2929d0850f ("net: psp: do not inherit the Rx association on clone"), which was introduced to workaround assoc state not being handled correctly from listen sockets. The fourth patch has some tests for the new checks introduced. ==================== Link: https://patch.msgid.link/20260930-psp-defeat-v2-0-f266e7447129@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions