commit | c17c3cdff10b9f59ef1244a14604f10949f17117 | [log] [tgz] |
---|---|---|
author | Liping Zhang <zlpnobody@gmail.com> | Sat Oct 29 22:03:05 2016 +0800 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Mon Oct 31 13:17:29 2016 +0100 |
tree | f7ecd0a5e29b63d7b7d2af9b0fb189446994f045 | |
parent | 5747620257812530adda58cbff591fede6fb261e [diff] |
netfilter: nf_tables: destroy the set if fail to add transaction When the memory is exhausted, then we will fail to add the NFT_MSG_NEWSET transaction. In such case, we should destroy the set before we free it. Fixes: 958bee14d071 ("netfilter: nf_tables: use new transaction infrastructure to handle sets") Signed-off-by: Liping Zhang <zlpnobody@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>