diff options
| author | Eric Dumazet <[email protected]> | 2024-06-04 16:51:50 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-06-06 10:33:25 +0000 |
| commit | 98aa546af5e4f180439c82da403cc77926d3953b (patch) | |
| tree | 4f65c5a5b6a68d41eab85fecdee4496fba78be13 /net/unix/af_unix.c | |
| parent | net: use unrcu_pointer() helper (diff) | |
| download | kernel-98aa546af5e4f180439c82da403cc77926d3953b.tar.gz kernel-98aa546af5e4f180439c82da403cc77926d3953b.zip | |
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 <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
