diff options
author | John Fastabend <john.fastabend@gmail.com> | 2023-11-29 02:25:57 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-11-30 00:25:25 +0100 |
commit | 51354f700d400e55b329361e1386b04695e6e5c1 (patch) | |
tree | 608c6dca192498fb00374a535ad1083b0efa2ca1 /fs/debugfs | |
parent | bpf, sockmap: af_unix stream sockets need to hold ref for pair sock (diff) | |
download | linux-51354f700d400e55b329361e1386b04695e6e5c1.tar.xz linux-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 <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com>
Link: https://lore.kernel.org/bpf/20231129012557.95371-3-john.fastabend@gmail.com
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions