diff options
author | Eric Dumazet <edumazet@google.com> | 2024-06-04 19:51:50 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-06-06 13:33:25 +0300 |
commit | 98aa546af5e4f180439c82da403cc77926d3953b (patch) | |
tree | 4f65c5a5b6a68d41eab85fecdee4496fba78be13 /net/unix/af_unix.c | |
parent | b4cb4a1391dcdc640c4ade003aaf0ee19cc8d509 (diff) | |
download | linux-98aa546af5e4f180439c82da403cc77926d3953b.tar.xz |
inet: remove (struct uncached_list)->quarantine
This list is used to tranfert dst that are handled by
rt_flush_dev() and rt6_uncached_list_flush_dev() out
of the per-cpu lists.
But quarantine list is not used later.
If we simply use list_del_init(&rt->dst.rt_uncached),
this also removes the dst from per-cpu list.
This patch also makes the future calls to rt_del_uncached_list()
and rt6_uncached_list_del() faster, because no spinlock
acquisition is needed anymore.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20240604165150.726382-1-edumazet@google.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions