diff options
| author | Mahe Tardy <mahe.tardy@gmail.com> | 2026-10-20 15:58:47 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-10-20 20:56:37 +0000 |
| commit | 7d563ae3ed742ab40d5576b6e2639f0a9751c444 (patch) | |
| tree | ad08a5f083cad23b7915bd1375e60712eb65e089 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 74be619845bdc09de15613b304c390e7bbddfea8 (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 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
