summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_tunnel.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2012-10-07 22:47:25 +0000
committerDavid S. Miller <davem@davemloft.net>2012-10-08 14:46:34 -0400
commitd851c12b60471188e15e5c8405b289073e8dd025 (patch)
tree102698a4ae2ec89cb931f360cc9229474a6f1cbb /net/ipv4/xfrm4_tunnel.c
parent594f88e96ebaf290e6509b37fff84b310ec1f155 (diff)
downloadop-kernel-dev-d851c12b60471188e15e5c8405b289073e8dd025.zip
op-kernel-dev-d851c12b60471188e15e5c8405b289073e8dd025.tar.gz
ipv4: Always invalidate or update the route on pmtu events
Some protocols, like IPsec still cache routes. So we need to invalidate the old route on pmtu events to avoid the reuse of stale routes. We also need to update the mtu and expire time of the route if we already use a nh exception route, otherwise we ignore newly learned pmtu values after the first expiration. With this patch we always invalidate or update the route on pmtu events. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_tunnel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud