summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc/kvec/errors.rs
diff options
context:
space:
mode:
authorMahe Tardy <mahe.tardy@gmail.com>2026-10-20 15:58:47 +0000
committerAlexei Starovoitov <ast@kernel.org>2026-10-20 20:56:37 +0000
commit7d563ae3ed742ab40d5576b6e2639f0a9751c444 (patch)
treead08a5f083cad23b7915bd1375e60712eb65e089 /rust/kernel/alloc/kvec/errors.rs
parent74be619845bdc09de15613b304c390e7bbddfea8 (diff)
selftests/bpf: Test ksock sendto()
These tests are covering that: 1. sendto() on a unconnected UDP socket works (and that the socket stays unconnected, i.e. send() on it fails with -EDESTADDRREQ). 2. sendto() on a connected UDP socket with a NULL address is equivalent to send(). 3. sendto() on a connected socket with an explicit address doesn't change the peer of the socket (send() after sendto() still sends to the original connected address). Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261020155848.75711-3-mahe.tardy@gmail.com
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions