Skip to content
Commit 4969f8a0 authored by Kees Cook's avatar Kees Cook
Browse files

pidfd: Add missing sock updates for pidfd_getfd()



The sock counting (sock_update_netprioidx() and sock_update_classid())
was missing from pidfd's implementation of received fd installation. Add
a call to the new __receive_sock() helper.

Cc: Christian Brauner <christian.brauner@ubuntu.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Sargun Dhillon <sargun@sargun.me>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org
Fixes: 8649c322 ("pid: Implement pidfd_getfd syscall")
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
parent d9539752
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment