netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] ipv6: fixes for RTF_CACHE entries
@ 2017-10-18 20:23 Paolo Abeni
  2017-10-18 20:23 ` [PATCH net-next v2 1/2] ipv6: start fib6 gc on RTF_CACHE dst creation Paolo Abeni
  2017-10-18 20:23 ` [PATCH net-next v2 2/2] ipv6: remove from fib tree aged out RTF_CACHE dst Paolo Abeni
  0 siblings, 2 replies; 5+ messages in thread
From: Paolo Abeni @ 2017-10-18 20:23 UTC (permalink / raw)
  To: netdev
  Cc: David S. Miller, Wei Wang, Martin KaFai Lau, Eric Dumazet,
	Hannes Frederic Sowa

This series addresses 3 different but related issues with RTF_CACHE introduced
by the recent refactory.

patch 1 restore the gc timer for such routes
patch 2 removes the aged out dst from the fib tree

v1 -> v2:
 - dropped the  for ip route show cache
 - avoid touching dst.obsolete when the dst is aged out

Paolo Abeni (2):
  ipv6: start fib6 gc on RTF_CACHE dst creation
  ipv6: remove from fib tree aged out RTF_CACHE dst

 net/ipv6/route.c | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

-- 
2.13.6

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

end of thread, other threads:[~2017-10-19  8:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-18 20:23 [PATCH net-next v2 0/2] ipv6: fixes for RTF_CACHE entries Paolo Abeni
2017-10-18 20:23 ` [PATCH net-next v2 1/2] ipv6: start fib6 gc on RTF_CACHE dst creation Paolo Abeni
2017-10-19  8:45   ` Sergei Shtylyov
2017-10-18 20:23 ` [PATCH net-next v2 2/2] ipv6: remove from fib tree aged out RTF_CACHE dst Paolo Abeni
2017-10-19  1:11   ` Martin KaFai Lau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).