aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorCong Wang <[email protected]>2021-07-23 18:36:30 +0000
committerAndrii Nakryiko <[email protected]>2021-07-30 19:40:55 +0000
commit0b846445985895e75958ecd59061fd7bf77e0c3f (patch)
tree47178f8be372abbc3a48077329f45c5cfaf2fc5a /tools/bpf/bpftool/prog.c
parentlibbpf: Add btf__load_vmlinux_btf/btf__load_module_btf (diff)
downloadkernel-0b846445985895e75958ecd59061fd7bf77e0c3f.tar.gz
kernel-0b846445985895e75958ecd59061fd7bf77e0c3f.zip
unix_bpf: Fix a potential deadlock in unix_dgram_bpf_recvmsg()
As Eric noticed, __unix_dgram_recvmsg() may acquire u->iolock too, so we have to release it before calling this function. Fixes: 9825d866ce0d ("af_unix: Implement unix_dgram_bpf_recvmsg()") Reported-by: Eric Dumazet <[email protected]> Signed-off-by: Cong Wang <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Jakub Sitnicki <[email protected]> Acked-by: John Fastabend <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions