diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2023-05-11 11:47:40 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-12 09:24:07 +0100 |
commit | 2200c1a87074548f0a36e5aae5ad283ce2ac43b2 (patch) | |
tree | 0bd3c03102f7d4d2552cb8206ff37a6eb7fc2c49 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b16d76fe9a27d337c16972a71d959bcf0c96c2e6 (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions