[PATCH nf] netfilter: nf_tables: destroy the set if fail to add transaction

2016-10-29 Thread Liping Zhang
From: Liping Zhang 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 ---

Re: [PATCH nf] netfilter: nf_tables: destroy the set if fail to add transaction

2016-10-31 Thread Pablo Neira Ayuso
On Sat, Oct 29, 2016 at 10:03:05PM +0800, Liping Zhang wrote: > From: Liping Zhang > > 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. Applied, thanks Liping. -- To unsubscribe from this list: sen