diff options
| author | John Fastabend <[email protected]> | 2023-11-29 01:25:57 +0000 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2023-11-29 23:25:25 +0000 |
| commit | 51354f700d400e55b329361e1386b04695e6e5c1 (patch) | |
| tree | 608c6dca192498fb00374a535ad1083b0efa2ca1 /net/unix/af_unix.c | |
| parent | bpf, sockmap: af_unix stream sockets need to hold ref for pair sock (diff) | |
| download | kernel-51354f700d400e55b329361e1386b04695e6e5c1.tar.gz kernel-51354f700d400e55b329361e1386b04695e6e5c1.zip | |
bpf, sockmap: Add af_unix test with both sockets in map
This adds a test where both pairs of a af_unix paired socket are put into a
BPF map. This ensures that when we tear down the af_unix pair we don't have
any issues on sockmap side with ordering and reference counting.
Signed-off-by: John Fastabend <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
