summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorcaoping <caoping@cmss.chinamobile.com>2025-12-04 01:10:58 -0800
committerJakub Kicinski <kuba@kernel.org>2025-12-10 00:51:49 -0800
commit6af2a01d65f89e73c1cbb9267f8880d83a88cee4 (patch)
tree7714f67e9bbb6ee3d2f2ac90426c6cf3c1a95157 /tools/lib/python/kdoc/kdoc_files.py
parent9e7477a427449a8a3cd00c188e20a880e3d94638 (diff)
net/handshake: restore destructor on submit failure
handshake_req_submit() replaces sk->sk_destruct but never restores it when submission fails before the request is hashed. handshake_sk_destruct() then returns early and the original destructor never runs, leaking the socket. Restore sk_destruct on the error path. Fixes: 3b3009ea8abb ("net/handshake: Create a NETLINK service for handling handshake requests") Reviewed-by: Chuck Lever <chuck.lever@oracle.com> Cc: stable@vger.kernel.org Signed-off-by: caoping <caoping@cmss.chinamobile.com> Link: https://patch.msgid.link/20251204091058.1545151-1-caoping@cmss.chinamobile.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions