vti: Add pmtu handling to vti_xmit.
authorSteffen Klassert <steffen.klassert@secunet.com>
Wed, 16 Mar 2016 09:17:37 +0000 (10:17 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Thu, 31 Mar 2016 06:59:56 +0000 (08:59 +0200)
commitd6af1a31cc72fbd558c7eddbc36f61bf09d1cf6a
tree509516e55ce80f366f230276070689e86647b88e
parent215276c0147ef49bc07692ca68bae35a30a64b9a
vti: Add pmtu handling to vti_xmit.

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

Reported-by: Mark McKinstry <Mark.McKinstry@alliedtelesis.co.nz>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ip_vti.c