diff options
| author | Michal Luczaj <[email protected]> | 2025-02-13 11:58:52 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-02-18 11:00:01 +0000 |
| commit | 85928e9c436398abcac32a9afa2f591895dd497d (patch) | |
| tree | f9df1432187a4be7273716c30e8e939a674dbca2 /net/unix/af_unix.c | |
| parent | selftest/bpf: Adapt vsock_delete_on_close to sockmap rejecting unconnected (diff) | |
| download | kernel-85928e9c436398abcac32a9afa2f591895dd497d.tar.gz kernel-85928e9c436398abcac32a9afa2f591895dd497d.zip | |
selftest/bpf: Add vsock test for sockmap rejecting unconnected
Verify that for a connectible AF_VSOCK socket, merely having a transport
assigned is insufficient; socket must be connected for the sockmap to
accept.
This does not test datagram vsocks. Even though it hardly matters. VMCI is
the only transport that features VSOCK_TRANSPORT_F_DGRAM, but it has an
unimplemented vsock_transport::readskb() callback, making it unsupported by
BPF/sockmap.
Signed-off-by: Michal Luczaj <[email protected]>
Acked-by: Stefano Garzarella <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
