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)
commitccd740cbc6e01b2a08baa341867063ed2887f4b9
tree3a0e80328b82f33c3c853ef07e388a1a50c0e3b4
parent18ec898ee54e03a9aab8b54db50cb2b36209d313
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