Re: [PATCH nf] netfilter: nft_ct: do cleanup work when NFTA_CT_DIRECTION is invalid

2017-03-15 Thread Pablo Neira Ayuso
On Wed, Mar 15, 2017 at 03:52:31PM +0100, Florian Westphal wrote: > Liping Zhang wrote: > > From: Liping Zhang > > > > We should jump to invoke __nft_ct_set_destroy() instead of just > > return error. > > > > Fixes: edee4f1e9245 ("netfilter: nft_ct: add

Re: [PATCH nf] netfilter: nft_ct: do cleanup work when NFTA_CT_DIRECTION is invalid

2017-03-15 Thread Florian Westphal
Liping Zhang wrote: > From: Liping Zhang > > We should jump to invoke __nft_ct_set_destroy() instead of just > return error. > > Fixes: edee4f1e9245 ("netfilter: nft_ct: add zone id set support") > Signed-off-by: Liping Zhang

[PATCH nf] netfilter: nft_ct: do cleanup work when NFTA_CT_DIRECTION is invalid

2017-03-15 Thread Liping Zhang
From: Liping Zhang We should jump to invoke __nft_ct_set_destroy() instead of just return error. Fixes: edee4f1e9245 ("netfilter: nft_ct: add zone id set support") Signed-off-by: Liping Zhang --- net/netfilter/nft_ct.c | 3 ++- 1 file changed, 2