diff options
| author | Kees Cook <[email protected]> | 2020-06-09 23:21:38 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2020-07-13 18:03:44 +0000 |
| commit | 4969f8a073977123504609d7310b42a588297aa4 (patch) | |
| tree | 31bceb2dc20d5a93466bf68d97fbee23e4e4b008 /net/core/scm.c | |
| parent | net/compat: Add missing sock updates for SCM_RIGHTS (diff) | |
| download | kernel-4969f8a073977123504609d7310b42a588297aa4.tar.gz kernel-4969f8a073977123504609d7310b42a588297aa4.zip | |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Sargun Dhillon <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Fixes: 8649c322f75c ("pid: Implement pidfd_getfd syscall")
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'net/core/scm.c')
0 files changed, 0 insertions, 0 deletions
