]> git.baikalelectronics.ru Git - kernel.git/commit
net: gain ipv4 mtu when mtu is not locked
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 25 Aug 2020 03:20:28 +0000 (23:20 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2020 13:04:39 +0000 (06:04 -0700)
commit6d7fde1b11abf6d6edde1a3a9d71be25a3fdd43e
treeb3bad7bfc441bdeeeef2f669e36e82330e315e70
parent7a1c0fdb6dbb053686ecec595cd46ebdc94a592a
net: gain ipv4 mtu when mtu is not locked

When mtu is locked, we should not obtain ipv4 mtu as we return immediately
in this case and leave acquired ipv4 mtu unused.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c