diff options
| author | Matt Johnston <[email protected]> | 2025-07-10 08:55:59 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-07-15 10:08:39 +0000 |
| commit | 3549eb08e5505823857838b5cf5f08567702d054 (patch) | |
| tree | 7ee13fd8d58056b4616ecb94d4b96ee31066fa09 /tools/testing/selftests/net/lib/py/netns.py | |
| parent | net: mctp: Use hashtable for binds (diff) | |
| download | kernel-3549eb08e5505823857838b5cf5f08567702d054.tar.gz kernel-3549eb08e5505823857838b5cf5f08567702d054.zip | |
net: mctp: Allow limiting binds to a peer address
Prior to calling bind() a program may call connect() on a socket to
restrict to a remote peer address.
Using connect() is the normal mechanism to specify a remote network
peer, so we use that here. In MCTP connect() is only used for bound
sockets - send() is not available for MCTP since a tag must be provided
for each message.
The smctp_type must match between connect() and bind() calls.
Signed-off-by: Matt Johnston <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions
