summaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorDaniel Borkmann2018-05-22 10:51:10 +0200
committerDaniel Borkmann2018-05-22 10:51:11 +0200
commit3fb48d881dbe2ef5290d30c5e0a601e98c0be2b9 (patch)
tree70615666ccc5c415f02efde857a8bb800a11791f /tools/lib/bpf/libbpf.c
parentMerge branch 'bpf-af-xdp-cleanups' (diff)
parentbpf: Add mtu checking to FIB forwarding helper (diff)
downloadkernel-qcow2-linux-3fb48d881dbe2ef5290d30c5e0a601e98c0be2b9.tar.gz
kernel-qcow2-linux-3fb48d881dbe2ef5290d30c5e0a601e98c0be2b9.tar.xz
kernel-qcow2-linux-3fb48d881dbe2ef5290d30c5e0a601e98c0be2b9.zip
Merge branch 'bpf-fib-mtu-check'
David Ahern says: ==================== Packets that exceed the egress MTU can not be forwarded in the fast path. Add IPv4 and IPv6 MTU helpers that take a FIB lookup result (versus the typical dst path) and add the calls to bpf_ipv{4,6}_fib_lookup. v2 - add ip6_mtu_from_fib6 to ipv6_stub - only call the new MTU helpers for fib lookups in XDP path; skb path uses is_skb_forwardable to determine if the packet can be sent via the egress device from the FIB lookup ==================== Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions