public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Fix nh_saddr caching.
@ 2011-03-25  1:14 David Miller
  2011-03-25 23:30 ` Julian Anastasov
  0 siblings, 1 reply; 2+ messages in thread
From: David Miller @ 2011-03-25  1:14 UTC (permalink / raw)
  To: netdev; +Cc: ja


Julian, the following two patches should take all of the
issues we discovered the other week wrt. nh_saddr caching.

First, we use a generation ID to invalidate cache nh_saddr
settings any time a device goes up or an IP address is
added/removed.

Second, we move fa_scope up to fib_info->fib_scope, so that
we always use the correct scope when computing the cached
nh_saddr.

Please review this carefully as this is delicate code.

Thanks!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-03-25 23:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-25  1:14 [PATCH 0/2] Fix nh_saddr caching David Miller
2011-03-25 23:30 ` Julian Anastasov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox