diff options
author | 2024-10-02 13:48:27 -0700 | |
---|---|---|
committer | 2024-10-02 13:51:49 -0700 | |
commit | bcd28cfd04ebd3f871443e4746e511147686e517 (patch) | |
tree | 7f7c5015fc8801b42da4c96ef1cb8e8ccc8ee740 /net/core/sock_map.c | |
parent | bpf: Sync uapi bpf.h header to tools directory (diff) | |
parent | bpf: selftests: send packet to devmap redirect XDP (diff) | |
download | wireguard-linux-bcd28cfd04ebd3f871443e4746e511147686e517.tar.xz wireguard-linux-bcd28cfd04ebd3f871443e4746e511147686e517.zip |
Merge branch 'bpf: devmap: provide rxq after redirect'
Florian Kauer says:
====================
rxq contains a pointer to the device from where
the redirect happened. Currently, the BPF program
that was executed after a redirect via BPF_MAP_TYPE_DEVMAP*
does not have it set.
Add bugfix and related selftest.
---
Changes in v4:
- return -> goto out_close, thanks Toke
- Link to v3: https://lore.kernel.org/r/20240909-devel-koalo-fix-ingress-ifindex-v3-0-66218191ecca@linutronix.de
Changes in v3:
- initialize skel to NULL, thanks Stanislav
- Link to v2: https://lore.kernel.org/r/20240906-devel-koalo-fix-ingress-ifindex-v2-0-4caa12c644b4@linutronix.de
Changes in v2:
- changed fixes tag
- added selftest
- Link to v1: https://lore.kernel.org/r/20240905-devel-koalo-fix-ingress-ifindex-v1-1-d12a0d74c29c@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