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(-) -- 2.30.2