]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9dd728c7a20be5386f9ce7dc8dc31737bc6fc62
tree1a0e6048645ae9c4dcd7c7c0596227d4d852abf5
parent5c732a8456ab8f63bb4e6d0b9d1094eca1275f87
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