bpf: Fix src IP addr related limitation in bpf_*_fib_lookup()
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 0 repliesApplied 2/2
- v22 patches 6 repliesSuperseded
- v12 patches 0 repliesSuperseded
Patches in v3 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Derive source IP addr via bpf_*_fib_lookup()include/ include/ net/ +2 more | +44 | 0 replies | Applied |
| 2/2 | selftests/bpf: Add BPF_FIB_LOOKUP_SRC teststools/ | +77 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH bpf v3 0/2] bpf: Fix src IP addr related limitation in bpf_*_fib_lookup()
The patchset fixes the limitation of bpf_*_fib_lookup() helper, which prevents it from being used in BPF dataplanes with network interfaces which have more than one IP addr. See the first patch for more details. Thanks!
* v2->v3: Address Martin KaFai Lau's feedback
* v1->v2: Use IPv6 stubs to fix compilation when CONFIG_IPV6=m.
Martynas Pumputis (2):
bpf: Derive source IP addr via bpf_*_fib_lookup() selftests/bpf: Add BPF_FIB_LOOKUP_SET_SRC tests
include/uapi/linux/bpf.h | 9 +++ net/core/filter.c | 13 +++- tools/include/uapi/linux/bpf.h | 10 +++ .../selftests/bpf/prog_tests/fib_lookup.c | 76 +++++++++++++++++-- 4 files changed, 101 insertions(+), 7 deletions(-)
Signature · 1 line
2.42.0