linux/net/handshake
Chuck Lever 7ea9c1ec66 net/handshake: Fix handshake_dup() ref counting
If get_unused_fd_flags() fails, we ended up calling fput(sock->file)
twice.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Suggested-by: Paolo Abeni <pabeni@redhat.com>
Fixes: 3b3009ea8a ("net/handshake: Create a NETLINK service for handling handshake requests")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-05-24 22:05:24 -07: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: Fix sock->file allocation 2023-05-22 19:25:24 -07:00
handshake.h net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
Makefile net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
netlink.c net/handshake: Fix handshake_dup() ref counting 2023-05-24 22:05:24 -07:00
request.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
tlshd.c net/handshake: Add Kunit tests for the handshake consumer API 2023-04-19 18:48:48 -07:00
trace.c