aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/core/sock_map.c
diff options
context:
space:
mode:
authorFlorian Kauer <florian.kauer@linutronix.de>2024-09-11 10:41:19 +0200
committerMartin KaFai Lau <martin.lau@kernel.org>2024-10-02 13:51:43 -0700
commit49ebeb0c15e86548822a8fc8c5ac34c70709c1aa (patch)
tree7f7c5015fc8801b42da4c96ef1cb8e8ccc8ee740 /net/core/sock_map.c
parentbpf: devmap: provide rxq after redirect (diff)
downloadwireguard-linux-49ebeb0c15e86548822a8fc8c5ac34c70709c1aa.tar.xz
wireguard-linux-49ebeb0c15e86548822a8fc8c5ac34c70709c1aa.zip
bpf: selftests: send packet to devmap redirect XDP
The current xdp_devmap_attach test attaches a program that redirects to another program via devmap. It is, however, never executed, so do that to catch any bugs that might occur during execution. Also, execute the same for a veth pair so that we also cover the non-generic path. Warning: Running this without the bugfix in this series will likely crash your system. Signed-off-by: Florian Kauer <florian.kauer@linutronix.de> Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com> Link: https://lore.kernel.org/r/20240911-devel-koalo-fix-ingress-ifindex-v4-2-5c643ae10258@linutronix.de Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'net/core/sock_map.c')
0 files changed, 0 insertions, 0 deletions