diff options
author | Michal Luczaj <[email protected]> | 2024-10-13 18:26:39 +0200 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2024-10-17 13:02:54 +0200 |
commit | 9c5bd93edf7b8834aecaa7c340b852d5990d7c78 (patch) | |
tree | be4c3e2466140f00e09796450377d10a6439f043 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 2aa587fd6659baef8722ccfb1d1d13d18e105059 (diff) |
bpf, sockmap: SK_DROP on attempted redirects of unsupported af_vsock
Don't mislead the callers of bpf_{sk,msg}_redirect_{map,hash}(): make sure
to immediately and visibly fail the forwarding of unsupported af_vsock
packets.
Fixes: 634f1a7110b4 ("vsock: support sockmap")
Signed-off-by: Michal Luczaj <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: John Fastabend <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions