Merge branch 'af_unix-fix-gc-and-improve-selftest'
authorPaolo Abeni <pabeni@redhat.com>
Tue, 21 May 2024 11:42:16 +0000 (13:42 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 21 May 2024 11:42:17 +0000 (13:42 +0200)
commit580acf6cd807921bc0e9657c5aa02d2360bb5b63
treef7b5b83578580ada5b06ed49f0645d2e6f4a29db
parent3ebc46ca8675de6378e3f8f40768e180bb8afa66
parente060e433e51246d970c5a8aa1c5ccd9ecc7ba4bf
Merge branch 'af_unix-fix-gc-and-improve-selftest'

Michal Luczaj says:

====================
af_unix: Fix GC and improve selftest

Series deals with AF_UNIX garbage collector mishandling some in-flight
graph cycles. Embryos carrying OOB packets with SCM_RIGHTS cause issues.

Patch 1/2 fixes the memory leak.
Patch 2/2 tweaks the selftest for a better OOB coverage.

v3:
  - Patch 1/2: correct the commit message (Kuniyuki)

v2: https://lore.kernel.org/netdev/20240516145457.1206847-1-mhal@rbox.co/
  - Patch 1/2: remove WARN_ON_ONCE() (Kuniyuki)
  - Combine both patches into a series (Kuniyuki)

v1: https://lore.kernel.org/netdev/20240516103049.1132040-1-mhal@rbox.co/
====================

Link: https://lore.kernel.org/r/20240517093138.1436323-1-mhal@rbox.co
Signed-off-by: Paolo Abeni <pabeni@redhat.com>