mbox series

[v3,net,0/2] af_unix: Fix GC and improve selftest

Message ID 20240517093138.1436323-1-mhal@rbox.co (mailing list archive)
Headers show
Series af_unix: Fix GC and improve selftest | expand

Message

Michal Luczaj May 17, 2024, 9:27 a.m. UTC
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/

Kuniyuki Iwashima (1):
  selftest: af_unix: Make SCM_RIGHTS into OOB data.

Michal Luczaj (1):
  af_unix: Fix garbage collection of embryos carrying OOB with
    SCM_RIGHTS

 net/unix/garbage.c                            | 23 +++++++++++--------
 .../selftests/net/af_unix/scm_rights.c        |  4 ++--
 2 files changed, 16 insertions(+), 11 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org May 21, 2024, 11:50 a.m. UTC | #1
Hello:

This series was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 17 May 2024 11:27:00 +0200 you wrote:
> 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)
> 
> [...]

Here is the summary with links:
  - [v3,net,1/2] af_unix: Fix garbage collection of embryos carrying OOB with SCM_RIGHTS
    https://git.kernel.org/netdev/net/c/041933a1ec7b
  - [v3,net,2/2] selftest: af_unix: Make SCM_RIGHTS into OOB data.
    https://git.kernel.org/netdev/net/c/e060e433e512

You are awesome, thank you!