aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
diff options
context:
space:
mode:
authorMichal Luczaj <[email protected]>2024-11-18 21:03:41 +0000
committerAlexei Starovoitov <[email protected]>2024-11-25 22:19:14 +0000
commit9f0fc98145218ff8f50d8cfa3b393785056c53e1 (patch)
treeaffb90b1c8e3cac429693f230b9ebec1695734e8 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c
parentbpf, lsm: Remove getlsmprop hooks BTF IDs (diff)
downloadkernel-9f0fc98145218ff8f50d8cfa3b393785056c53e1.tar.gz
kernel-9f0fc98145218ff8f50d8cfa3b393785056c53e1.zip
bpf, vsock: Fix poll() missing a queue
When a verdict program simply passes a packet without redirection, sk_msg is enqueued on sk_psock::ingress_msg. Add a missing check to poll(). Fixes: 634f1a7110b4 ("vsock: support sockmap") Signed-off-by: Michal Luczaj <[email protected]> Reviewed-by: Stefano Garzarella <[email protected]> Reviewed-by: Luigi Leonardi <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: John Fastabend <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/sockmap_basic.c')
0 files changed, 0 insertions, 0 deletions