]> git.karo-electronics.de Git - linux-beck.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)
commit05ab86c55683410593720003442dde629782aaac
tree9a35cdd3157094965e54e63fcc58af4f1e07bb35
parent5b653b2a1c3b5634368fde2df958a1398481e580
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