Skip to content
Commit 9a4d6dd5 authored by Tetsuo Handa's avatar Tetsuo Handa Committed by Florian Westphal
Browse files

netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()

It seems to me that percpu memory for chain stats started leaking since
commit 3bc158f8

 ("netfilter: nf_tables: map basechain priority to
hardware priority") when nft_chain_offload_priority() returned an error.

Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Fixes: 3bc158f8

 ("netfilter: nf_tables: map basechain priority to hardware priority")
Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
parent 921ebde3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment