Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote: > On Thu, Jun 1, 2017 at 1:52 AM, Florian Westphal <fw@xxxxxxxxx> wrote: > > Joe described it nicely, problem is that after unload we may have > > conntracks that still have a nf_conn_help extension attached that > > has a pointer to a structure that resided in the (unloaded) module. > > Why not hold a refcnt for its module? That would work as well. I'm not sure its nice to disallow rmmod of helper modules if they are used by a connection however. Right now you can "rmmod nf_conntrack_foo" at any time and this should work just fine without first having to flush affected conntracks manually. -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html