diff options
author | 2018-05-21 09:08:15 -0700 | |
---|---|---|
committer | 2018-05-22 10:51:09 +0200 | |
commit | 4f74fede40df8dbdb5261d50682491126675aac3 (patch) | |
tree | 70615666ccc5c415f02efde857a8bb800a11791f /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | net/ipv6: Add helper to return path MTU based on fib result (diff) | |
download | linux-dev-4f74fede40df8dbdb5261d50682491126675aac3.tar.xz linux-dev-4f74fede40df8dbdb5261d50682491126675aac3.zip |
bpf: Add mtu checking to FIB forwarding helper
Add check that egress MTU can handle packet to be forwarded. If
the MTU is less than the packet length, return 0 meaning the
packet is expected to continue up the stack for help - eg.,
fragmenting the packet or sending an ICMP.
The XDP path needs to leverage the FIB entry for an MTU on the
route spec or an exception entry for a given destination. The
skb path lets is_skb_forwardable decide if the packet can be
sent.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions