diff options
author | Hangyu Hua <hbh25y@gmail.com> | 2022-09-23 05:00:46 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-09-26 22:40:39 +0300 |
commit | 6e23ec0ba92d426c77a73a9ccab16346e5e0ef49 (patch) | |
tree | 6d79f7e1c215272c2ca3f7b6bbad5f9c5e9f848e /tools/perf/scripts/python/syscall-counts.py | |
parent | a43206156263fbaf1f2b7f96257441f331e91bb7 (diff) | |
download | linux-6e23ec0ba92d426c77a73a9ccab16346e5e0ef49.tar.xz |
net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
nf_ct_put need to be called to put the refcount got by tcf_ct_fill_params
to avoid possible refcount leak when tcf_ct_flow_table_get fails.
Fixes: c34b961a2492 ("net/sched: act_ct: Create nf flow table per zone")
Signed-off-by: Hangyu Hua <hbh25y@gmail.com>
Link: https://lore.kernel.org/r/20220923020046.8021-1-hbh25y@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions