net: ipv4: Consolidate ipv4_mtu and ip_dst_mtu_maybe_forward
authorVadim Fedorenko <vfedorenko@novek.ru>
Tue, 20 Jul 2021 20:06:28 +0000 (23:06 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Jul 2021 15:22:03 +0000 (08:22 -0700)
commitac6627a28dbfb5d96736544a00c3938fa7ea6dfb
tree1a0e6048645ae9c4dcd7c7c0596227d4d852abf5
parent427faee167bce4ccb0b22f6815a9ac509e31d4c3
net: ipv4: Consolidate ipv4_mtu and ip_dst_mtu_maybe_forward

Consolidate IPv4 MTU code the same way it is done in IPv6 to have code
aligned in both address families

Signed-off-by: Vadim Fedorenko <vfedorenko@novek.ru>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip.h
net/ipv4/route.c