[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100319.210834.115917044.davem@davemloft.net>
Date: Fri, 19 Mar 2010 21:08:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH v3] ipv4: check rt_genid in dst_check
From: Timo Teras <timo.teras@....fi>
Date: Fri, 19 Mar 2010 11:20:20 +0200
> 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
> 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@....fi>
> Acked-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists