diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2018-05-09 12:06:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 21:40:52 +0200 |
commit | 0e8411e426e277f55bd21e287ec89fab6f8eacae (patch) | |
tree | 3f99a701754cefcf8e0952ca78de9d9291fd5184 /net/ipv4/udp.c | |
parent | hv_netvsc: Fix net device attach on older Windows hosts (diff) | |
download | linux-0e8411e426e277f55bd21e287ec89fab6f8eacae.tar.xz linux-0e8411e426e277f55bd21e287ec89fab6f8eacae.zip |
ipv4: reset fnhe_mtu_locked after cache route flushed
After route cache is flushed via ipv4_sysctl_rtcache_flush(), we forget
to reset fnhe_mtu_locked in rt_bind_exception(). When pmtu is updated
in __ip_rt_update_pmtu(), it will return directly since the pmtu is
still locked. e.g.
+ ip netns exec client ping 10.10.1.1 -c 1 -s 1400 -M do
PING 10.10.1.1 (10.10.1.1) 1400(1428) bytes of data.
>From 10.10.0.254 icmp_seq=1 Frag needed and DF set (mtu = 0)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp.c')
0 files changed, 0 insertions, 0 deletions