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 a34a3433
-
mentioned in commit 5b443fbe
-
mentioned in commit a934cbca
-
mentioned in commit ec4ebe29
-
mentioned in commit 6d121226
-
mentioned in commit bc13b6d8
-
mentioned in commit f6f4fa15
-
mentioned in commit 1c2b7247
-
mentioned in commit df16e134
-
mentioned in commit ad2c09d2
-
mentioned in commit e83148cc
-
mentioned in commit beb8e6d6
-
mentioned in commit 45271a2c
Please sign in to comment