aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-05-11 11:47:40 -0400
committerDavid S. Miller <davem@davemloft.net>2023-05-12 09:24:07 +0100
commit2200c1a87074548f0a36e5aae5ad283ce2ac43b2 (patch)
tree0bd3c03102f7d4d2552cb8206ff37a6eb7fc2c49 /tools/perf/scripts/python
parentnet/handshake: Remove unneeded check from handshake_dup() (diff)
downloadlinux-2200c1a87074548f0a36e5aae5ad283ce2ac43b2.tar.gz
linux-2200c1a87074548f0a36e5aae5ad283ce2ac43b2.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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions