Re: [PATCH nf-next] netfilter: nf_ct_ext: invoke destroy even when ext is not attached

2017-04-29 Thread Florian Westphal
Liping Zhang wrote: > From: Liping Zhang > > For NF_NAT_MANIP_SRC, we will insert the ct to the nat_bysource_table, > then remove it from the nat_bysource_table via nat_extend->destroy. Right, I forgot about that. > But now, the nat extension is

[PATCH nf-next] netfilter: nf_ct_ext: invoke destroy even when ext is not attached

2017-04-29 Thread Liping Zhang
From: Liping Zhang For NF_NAT_MANIP_SRC, we will insert the ct to the nat_bysource_table, then remove it from the nat_bysource_table via nat_extend->destroy. But now, the nat extension is attached on demand, so if the nat extension is not attached, we will not be notified