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 e82b99ee
-
mentioned in commit f7562952
-
mentioned in commit 9d7dbd13
-
mentioned in commit 8cf168f0
-
mentioned in commit e1bd752e
-
mentioned in commit 90a5daa9
-
mentioned in commit 63fb7985
-
mentioned in commit a1f7e54e
-
mentioned in commit b0649fc4
-
mentioned in commit fc718754
-
mentioned in commit a592e6c0
-
mentioned in commit 67a3a58d
-
mentioned in commit 98aebd30
Please sign in to comment