[PATCH nf 2/3] netfilter: cttimeout: put back l4proto when replacing timeout policy

2016-08-22 Thread Liping Zhang
From: Liping Zhang We forget to call nf_ct_l4proto_put when replacing the existing timeout policy. Acctually, there's no need to get ct l4proto before doing replace, so we can move it to a later position. Signed-off-by: Liping Zhang --- net/netfilter/nfnetlink_cttimeout.c | 33 +++-

Re: [PATCH nf 2/3] netfilter: cttimeout: put back l4proto when replacing timeout policy

2016-08-25 Thread Pablo Neira Ayuso
On Mon, Aug 22, 2016 at 09:58:17PM +0800, Liping Zhang wrote: > From: Liping Zhang > > We forget to call nf_ct_l4proto_put when replacing the existing > timeout policy. Acctually, there's no need to get ct l4proto > before doing replace, so we can move it to a later position. Applied, thanks Lip