]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/ipv4: Add helper to return path MTU based on fib result
authorDavid Ahern <dsahern@gmail.com>
Mon, 21 May 2018 16:08:13 +0000 (09:08 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 22 May 2018 08:51:09 +0000 (10:51 +0200)
commit50d889b1789458d1f7d7f40ff4f628b670047773
treeb135cefd3c0de7c3ff7fb6729b8e36235bdea92f
parentfd0bfa8d6e046237cb591bd3b51c87c56d4772b2
net/ipv4: Add helper to return path MTU based on fib result

Determine path MTU from a FIB lookup result. Logic is a distillation of
ip_dst_mtu_maybe_forward.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/net/ip_fib.h
net/ipv4/route.c