linux/net/handshake
Chuck Lever f921bd4100 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: 3b3009ea8a ("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>
2023-05-12 09:24:08 +01:00
..
.kunitconfig net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
genl.c net/handshake: Add a kernel API for requesting a TLSv1.3 handshake 2023-04-19 18:48:48 -07:00
genl.h net/handshake: Add a kernel API for requesting a TLSv1.3 handshake 2023-04-19 18:48:48 -07:00
handshake-test.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
handshake.h net/handshake: Unpin sock->file if a handshake is cancelled 2023-05-12 09:24:08 +01:00
Makefile net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
netlink.c net/handshake: handshake_genl_notify() shouldn't ignore @flags 2023-05-12 09:24:08 +01:00
request.c net/handshake: Unpin sock->file if a handshake is cancelled 2023-05-12 09:24:08 +01:00
tlshd.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
trace.c