netfilter: nf_tables: free set name in error path
authorFlorian Westphal <fw@strlen.de>
Tue, 10 Apr 2018 07:00:24 +0000 (09:00 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 16 Apr 2018 15:47:27 +0000 (17:47 +0200)
commit2f6adf481527c8ab8033c601f55bfb5b3712b2ac
tree3012b4c102938470894324aa5c9c76e02f30dece
parent569ccae68b38654f04b6842b034aa33857f605fe
netfilter: nf_tables: free set name in error path

set->name must be free'd here in case ops->init fails.

Fixes: 387454901bd6 ("netfilter: nf_tables: Allow set names of up to 255 chars")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c