diff options
| author | Michal Luczaj <[email protected]> | 2024-11-18 21:03:41 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2024-11-25 22:19:14 +0000 |
| commit | 9f0fc98145218ff8f50d8cfa3b393785056c53e1 (patch) | |
| tree | affb90b1c8e3cac429693f230b9ebec1695734e8 /tools/testing/selftests/bpf/prog_tests/sockmap_basic.c | |
| parent | bpf, lsm: Remove getlsmprop hooks BTF IDs (diff) | |
| download | kernel-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
