diff options
| author | 2024-10-13 18:26:39 +0200 | |
|---|---|---|
| committer | 2024-10-17 13:02:54 +0200 | |
| commit | 9c5bd93edf7b8834aecaa7c340b852d5990d7c78 (patch) | |
| tree | be4c3e2466140f00e09796450377d10a6439f043 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | selftests/bpf: Add asserts for netfilter link info (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 <mhal@rbox.co>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20241013-vsock-fixes-for-redir-v2-1-d6577bbfe742@rbox.co
Diffstat (limited to 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
