aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <[email protected]>2021-08-14 01:57:15 +0000
committerAndrii Nakryiko <[email protected]>2021-08-15 07:13:32 +0000
commit2c860a43dd77f969bb959336a2f743d7103a8f63 (patch)
tree86ef0c1115eda01220a5ffa8053e48a1394a43fc /net/unix/unix_bpf.c
parentsamples/bpf: Define MAX_ENTRIES instead of a magic number in offwaketime (diff)
downloadkernel-2c860a43dd77f969bb959336a2f743d7103a8f63.tar.gz
kernel-2c860a43dd77f969bb959336a2f743d7103a8f63.zip
bpf: af_unix: Implement BPF iterator for UNIX domain socket.
This patch implements the BPF iterator for the UNIX domain socket. Currently, the batch optimisation introduced for the TCP iterator in the commit 04c7820b776f ("bpf: tcp: Bpf iter batching and lock_sock") is not used for the UNIX domain socket. It will require replacing the big lock for the hash table with small locks for each hash list not to block other processes. Signed-off-by: Kuniyuki Iwashima <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions