]> git.baikalelectronics.ru Git - kernel.git/commit
vti6: Don't report path MTU below IPV6_MIN_MTU.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 15 Feb 2017 10:38:58 +0000 (11:38 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 16 Feb 2017 06:51:42 +0000 (07:51 +0100)
commitcc5755ac9ac32aa0e1d23ae186682c9c30b53f2a
tree281e8e1a764fefde81418f552b2f3ed361181ba4
parentb94e87c2aa9d366d19f3eab5899ba1b9fa4f9fea
vti6: Don't report path MTU below IPV6_MIN_MTU.

In vti6_xmit(), the check for IPV6_MIN_MTU before we
send a ICMPV6_PKT_TOOBIG message is missing. So we might
report a PMTU below 1280. Fix this by adding the required
check.

Fixes: 038d3963b9f ("vti6: Add pmtu handling to vti6_xmit.")
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv6/ip6_vti.c