]> 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)
commitd79738738f24e1a275660b79d6f034790e475906
treeb3bad7bfc441bdeeeef2f669e36e82330e315e70
parentbe0011f208a685991b68ba81c01df7e4c80fa785
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