diff options
author | Pan Bian <bianpan2016@163.com> | 2018-12-10 14:39:37 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-12-13 00:55:50 +0100 |
commit | 708abf74dd87f8640871b814faa195fb5970b0e3 (patch) | |
tree | f5fbccc7a9967e5b045b3ca3b1c046a6db5dcb9c /Documentation/early-userspace | |
parent | 530aad77010b81526586dfc09130ec875cd084e4 (diff) | |
download | blackbird-obmc-linux-708abf74dd87f8640871b814faa195fb5970b0e3.tar.gz blackbird-obmc-linux-708abf74dd87f8640871b814faa195fb5970b0e3.zip |
netfilter: ipset: do not call ipset_nest_end after nla_nest_cancel
In the error handling block, nla_nest_cancel(skb, atd) is called to
cancel the nest operation. But then, ipset_nest_end(skb, atd) is
unexpected called to end the nest operation. This patch calls the
ipset_nest_end only on the branch that nla_nest_cancel is not called.
Fixes: 45040978c899 ("netfilter: ipset: Fix set:list type crash when flush/dump set in parallel")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'Documentation/early-userspace')
0 files changed, 0 insertions, 0 deletions