summaryrefslogtreecommitdiff
path: root/block/noop-iosched.c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-03-19 02:20:20 +0300
committerDavid S. Miller <davem@davemloft.net>2010-03-20 07:00:41 +0300
commitd11a4dc18bf41719c9f0d7ed494d295dd2973b92 (patch)
tree654f7abdf27e1aeca25505896ead0e07664ee9fa /block/noop-iosched.c
parent11bc3088373e913f165a8652601c6f8b8dc4aea2 (diff)
downloadlinux-d11a4dc18bf41719c9f0d7ed494d295dd2973b92.tar.xz
ipv4: check rt_genid in dst_check
Xfrm_dst keeps a reference to ipv4 rtable entries on each cached bundle. The only way to renew xfrm_dst when the underlying route has changed, is to implement dst_check for this. This is what ipv6 side does too. The problems started after 87c1e12b5eeb7b30b4b41291bef8e0b41fc3dde9 ("ipsec: Fix bogus bundle flowi") which fixed a bug causing xfrm_dst to not get reused, until that all lookups always generated new xfrm_dst with new route reference and path mtu worked. But after the fix, the old routes started to get reused even after they were expired causing pmtu to break (well it would occationally work if the rtable gc had run recently and marked the route obsolete causing dst_check to get called). Signed-off-by: Timo Teras <timo.teras@iki.fi> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'block/noop-iosched.c')
0 files changed, 0 insertions, 0 deletions