diff options
author | Michal Luczaj <mhal@rbox.co> | 2025-02-13 14:58:52 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2025-02-18 14:00:01 +0300 |
commit | 85928e9c436398abcac32a9afa2f591895dd497d (patch) | |
tree | f9df1432187a4be7273716c30e8e939a674dbca2 /scripts/generate_rust_analyzer.py | |
parent | 8350695bfb169b1924626a68f76b369ad01f18f2 (diff) | |
download | linux-85928e9c436398abcac32a9afa2f591895dd497d.tar.xz |
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 <mhal@rbox.co>
Acked-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions