]> 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)
commitd2a66fc252328ad9f364801f50d5d1be2639f051
tree9a35cdd3157094965e54e63fcc58af4f1e07bb35
parente93f0dabdd59ed80af2aa51dff736679da3c8bc8
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