summaryrefslogtreecommitdiff
path: root/lib/debug_locks.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-05-11 18:49:17 +0300
committerDavid S. Miller <davem@davemloft.net>2023-05-12 11:24:08 +0300
commitf921bd41001ccff2249f5f443f2917f7ef937daf (patch)
tree5c5e6295d23bc728141180ea348cdb091aae1c3b /lib/debug_locks.c
parente36a93e1723eb09c8393604ddc8ef2966f592597 (diff)
downloadlinux-f921bd41001ccff2249f5f443f2917f7ef937daf.tar.xz
net/handshake: Unpin sock->file if a handshake is cancelled
If user space never calls DONE, sock->file's reference count remains elevated. Enable sock->file to be freed eventually in this case. Reported-by: Jakub Kacinski <kuba@kernel.org> Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests") Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/debug_locks.c')
0 files changed, 0 insertions, 0 deletions