summaryrefslogtreecommitdiff
path: root/net/compat.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2020-06-09 16:21:38 -0700
committerKees Cook <keescook@chromium.org>2020-07-13 11:03:44 -0700
commit4969f8a073977123504609d7310b42a588297aa4 (patch)
tree31bceb2dc20d5a93466bf68d97fbee23e4e4b008 /net/compat.c
parentd9539752d23283db4692384a634034f451261e29 (diff)
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: 8649c322f75c ("pid: Implement pidfd_getfd syscall") Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'net/compat.c')
0 files changed, 0 insertions, 0 deletions