summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLi Xiasong <lixiasong1@huawei.com>2026-05-07 17:04:23 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2026-05-08 02:30:17 +0300
commit19f94b6fee75b3ef7fbc06f3745b9a771a8a19a4 (patch)
tree697ef229a9766700512832105da8bd6949d7f15c /include
parenteb6317739b1ea3ab28791e1f91b24781905fa815 (diff)
downloadlinux-19f94b6fee75b3ef7fbc06f3745b9a771a8a19a4.tar.xz
netfilter: nft_ct: fix missing expect put in obj eval
nft_ct_expect_obj_eval() allocates an expectation and may call nf_ct_expect_related(), but never drops its local reference. Add nf_ct_expect_put(exp) before return to balance allocation. Fixes: 857b46027d6f ("netfilter: nft_ct: add ct expectations support") Cc: stable@vger.kernel.org Signed-off-by: Li Xiasong <lixiasong1@huawei.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions