diff options
author | Liping Zhang <zlpnobody@gmail.com> | 2016-10-29 22:03:05 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-10-31 13:17:29 +0100 |
commit | c17c3cdff10b9f59ef1244a14604f10949f17117 (patch) | |
tree | f7ecd0a5e29b63d7b7d2af9b0fb189446994f045 /lib/mpi | |
parent | 5747620257812530adda58cbff591fede6fb261e (diff) | |
download | linux-stable-c17c3cdff10b9f59ef1244a14604f10949f17117.tar.gz linux-stable-c17c3cdff10b9f59ef1244a14604f10949f17117.tar.bz2 linux-stable-c17c3cdff10b9f59ef1244a14604f10949f17117.zip |
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>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions