Skip to content

af_unix: Followup fixes for SO_PASSPIDFD.

Kuniyuki Iwashima linux-bluetooth netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2af_unix: Skip SCM_PIDFD if scm->pid is NULL.include/net/scm.h+3 -11 replyApplied
2/2net: scm: introduce and use scm_recv_unix helperinclude/net/scm.h net/unix/af_unix.c+27 -120 repliesApplied

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKuniyuki Iwashima
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net-next 0/2] af_unix: Followup fixes for SO_PASSPIDFD.

This series fixes 2 issues introduced by commit 5e2ff6704a27 ("scm: add SO_PASSPIDFD and SCM_PIDFD").

The 1st patch fixes a warning in scm_pidfd_recv() reported by syzkaller. The 2nd patch fixes a regression that bluetooth can't be built as module.

Alexander Mikhalitsyn (1):
net: scm: introduce and use scm_recv_unix helper

Kuniyuki Iwashima (1):
af_unix: Skip SCM_PIDFD if scm->pid is NULL.

 include/net/scm.h  | 39 ++++++++++++++++++++++++++++-----------
 net/unix/af_unix.c |  4 ++--
 2 files changed, 30 insertions(+), 13 deletions(-)
Signature · 1 line
2.30.2