]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf184ea0bd6003ba3624a85629758b35ac0c5232f
tree509516e55ce80f366f230276070689e86647b88e
parentc08f290d2a0e4936c7e02a5be62649dd5578bf5d
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