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

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

Whenever rt_flush_dev() changes one rtable dst.dev
matching the disappearing device, it can can transfer the object
to a quarantine list, waiting for a final rt_del_uncached_list().

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