]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: add (struct uncached_list)->quarantine list
authorEric Dumazet <edumazet@google.com>
Thu, 10 Feb 2022 21:42:30 +0000 (13:42 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 Feb 2022 11:44:27 +0000 (11:44 +0000)
commit6fb74526acb5e35962395fb6e37e7334bb6fe679
tree4dc9a9ebe9ab9606211f6fd54e28cb5d5740a632
parent2ee77b529d94a7a9260e86d18221d4cf2ac63bb6
ipv6: add (struct uncached_list)->quarantine list

This is an optimization to keep the per-cpu lists as short as possible:

Whenever rt6_uncached_list_flush_dev() changes one rt6_info
matching the disappearing device, it can can transfer the object
to a quarantine list, waiting for a final rt6_uncached_list_del().

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c