]> git.baikalelectronics.ru Git - kernel.git/commit
xfrm4: Invalidate all ipv4 routes on IPsec pmtu events
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 15 Jan 2013 12:38:53 +0000 (13:38 +0100)
committerSteffen Klassert <steffen.klassert@secunet.com>
Mon, 21 Jan 2013 11:43:54 +0000 (12:43 +0100)
commit5f0ed69de579b29e6644062a6865c1b65180f54c
tree9a35cdd3157094965e54e63fcc58af4f1e07bb35
parent5da4c1c2557fe2a5e07ee167026da9e042a80539
xfrm4: Invalidate all ipv4 routes on IPsec pmtu events

On IPsec pmtu events we can't access the transport headers of
the original packet, so we can't find the socket that sent
the packet. The only chance to notify the socket about the
pmtu change is to force a relookup for all routes. This
patch implenents this for the IPsec protocols.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/ipv4/ah4.c
net/ipv4/esp4.c
net/ipv4/ipcomp.c