diff options
| author | Hangyu Hua <[email protected]> | 2023-02-10 15:17:30 +0800 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2023-02-22 00:06:19 +0100 |
| commit | ac4893980bbe79ce383daf9a0885666a30fe4c83 (patch) | |
| tree | 594265fb4ae7f9ca17d9da5dca0f8b36a4b12cef /tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c | |
| parent | 92f3e96d642f5e05b9dc710c06fedc669f1b4f00 (diff) | |
netfilter: ctnetlink: fix possible refcount leak in ctnetlink_create_conntrack()
nf_ct_put() needs to be called to put the refcount got by
nf_conntrack_find_get() to avoid refcount leak when
nf_conntrack_hash_check_insert() fails.
Fixes: 7d367e06688d ("netfilter: ctnetlink: fix soft lockup when netlink adds new entries (v2)")
Signed-off-by: Hangyu Hua <[email protected]>
Acked-by: Florian Westphal <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/sendmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions