af_unix: Detect dead SCC.
commit a15702d8 upstream. When iterating SCC, we call unix_vertex_dead() for each vertex to check if the vertex is close()d and has no bridge to another SCC. If both conditions are true for every vertex in SCC, we can execute garbage collection for all skb in the SCC. The actual garbage collection is done in the following patch, replacing the old implementation. Signed-off-by:Kuniyuki Iwashima <kuniyu@amazon.com> Acked-by:
Paolo Abeni <pabeni@redhat.com> Link: https://lore.kernel.org/r/20240325202425.60930-14-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 ef04db0b
-
mentioned in commit e7a43dfd
-
mentioned in commit 86f22c0c
-
mentioned in commit 25ec9bbc
-
mentioned in commit 964868cd
-
mentioned in commit a3f54b47
-
mentioned in commit 4ba39328
-
mentioned in commit 4fcd13de
-
mentioned in commit 269085bc
-
mentioned in commit af6999b4
-
mentioned in commit c2e3b86f
-
mentioned in commit 5316169e
-
mentioned in commit 45271a2c
Please sign in to comment