]> git.baikalelectronics.ru Git - kernel.git/commit
vti6: Add pmtu handling to vti6_xmit.
authorSteffen Klassert <steffen.klassert@secunet.com>
Fri, 29 May 2015 18:28:26 +0000 (11:28 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 23:03:43 +0000 (16:03 -0700)
commit038d3963b9fbea43913fe04b80e32dc21a51ac4e
tree3a0e80328b82f33c3c853ef07e388a1a50c0e3b4
parent741c55931d06d82509ddde3b674634cbb8c1c66d
vti6: Add pmtu handling to vti6_xmit.

We currently rely on the PMTU discovery of xfrm.
However if a packet is localy sent, the PMTU mechanism
of xfrm tries to to local socket notification what
might not work for applications like ping that don't
check for this. So add pmtu handling to vti6_xmit to
report MTU changes immediately.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_vti.c