diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2024-03-25 21:24:24 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-29 16:28:42 +0100 |
commit | 4090fa373f0e763c43610853d2774b5979915959 (patch) | |
tree | ea5671d049b281b3124624d47b25f9883c72a3e6 /tools | |
parent | af_unix: Detect dead SCC. (diff) | |
download | linux-4090fa373f0e763c43610853d2774b5979915959.tar.xz linux-4090fa373f0e763c43610853d2774b5979915959.zip |
af_unix: Replace garbage collection algorithm.
If we find a dead SCC during iteration, we call unix_collect_skb()
to splice all skb in the SCC to the global sk_buff_head, hitlist.
After iterating all SCC, we unlock unix_gc_lock and purge the queue.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://lore.kernel.org/r/20240325202425.60930-15-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions