aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
diff options
context:
space:
mode:
authorBjörn Töpel <[email protected]>2019-09-04 11:49:13 +0000
committerDaniel Borkmann <[email protected]>2019-09-05 12:11:52 +0000
commit25dc18ff9b583a76fff00c7d9d14a40524653c45 (patch)
tree44b3cf7745546d08d882b8e09403bbe14d6fcf04 /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
parentxsk: use state member for socket synchronization (diff)
downloadkernel-25dc18ff9b583a76fff00c7d9d14a40524653c45.tar.gz
kernel-25dc18ff9b583a76fff00c7d9d14a40524653c45.zip
xsk: lock the control mutex in sock_diag interface
When accessing the members of an XDP socket, the control mutex should be held. This commit fixes that. Acked-by: Jonathan Lemon <[email protected]> Fixes: a36b38aa2af6 ("xsk: add sock_diag interface for AF_XDP") Signed-off-by: Björn Töpel <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions