af_unix: Replace garbage collection algorithm.
commit 4090fa37 upstream. 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> Signed-off-by:
Lee Jones <lee@kernel.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Loading
-
mentioned in commit f1c92c56
-
mentioned in commit 664aeec6
-
mentioned in commit 6e81e115
-
mentioned in commit ed21c440
-
mentioned in commit 4880808d
-
mentioned in commit a7fb8e85
-
mentioned in commit efd8a5b3
-
mentioned in commit c6a5a7b3
-
mentioned in commit b6e35e34
-
mentioned in commit ef69729b
-
mentioned in commit 00f4021f
-
mentioned in commit 11d208f8
-
mentioned in commit 98aebd30
Please sign in to comment