[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230213144826.GC14680@breakpoint.cc>
Date:   Mon, 13 Feb 2023 15:48:26 +0100
From:   Florian Westphal <fw@...len.de>
To:     Hangyu Hua <hbh25y@...il.com>
Cc:     pablo@...filter.org, kadlec@...filter.org, fw@...len.de,
        davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
        pabeni@...hat.com, netfilter-devel@...r.kernel.org,
        coreteam@...filter.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: netfilter: fix possible refcount leak in
 ctnetlink_create_conntrack()
Hangyu Hua <hbh25y@...il.com> wrote:
> 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 <hbh25y@...il.com>
I'll handle the other bug mentioned in the thread on top of this commit,
thanks for the patch.
Acked-by: Florian Westphal <fw@...len.de>
Powered by blists - more mailing lists
 
