Re: [PATCH net 4/4] selftest/bpf: Add vsock test for sockmap rejecting unconnected

2025-02-14 Thread Michal Luczaj
On 2/13/25 12:58, Michal Luczaj wrote: > ... > 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

[PATCH net 4/4] selftest/bpf: Add vsock test for sockmap rejecting unconnected

2025-02-13 Thread Michal Luczaj
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