]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add mtu lock check in __ip6_rt_update_pmtu
authorXin Long <lucien.xin@gmail.com>
Fri, 28 Oct 2016 10:18:01 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 18:24:24 +0000 (14:24 -0400)
commit38b3c9ed084e2a322e76745c9d723961d9cd06d0
tree813a1c2297d879c1cefad077e231aa6a380f4ae7
parent00b764294f91b820d515c9514034cf4070ea7fbc
ipv6: add mtu lock check in __ip6_rt_update_pmtu

Prior to this patch, ipv6 didn't do mtu lock check in ip6_update_pmtu.
It leaded to that mtu lock doesn't really work when receiving the pkt
of ICMPV6_PKT_TOOBIG.

This patch is to add mtu lock check in __ip6_rt_update_pmtu just as ipv4
did in __ip_rt_update_pmtu.

Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c