diff options
author | 2023-05-11 11:47:40 -0400 | |
---|---|---|
committer | 2023-05-24 22:05:24 -0700 | |
commit | 7ea9c1ec66bc099b0bfba961a8a46dfe25d7d8e4 (patch) | |
tree | 8500bd7ee3b1118e41d467cec9bf423c3d6b262b /scripts/generate_rust_analyzer.py | |
parent | net/handshake: Remove unneeded check from handshake_dup() (diff) | |
download | wireguard-linux-7ea9c1ec66bc099b0bfba961a8a46dfe25d7d8e4.tar.xz wireguard-linux-7ea9c1ec66bc099b0bfba961a8a46dfe25d7d8e4.zip |
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: 3b3009ea8abb ("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>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions