On Tue, Mar 14, 2017 at 02:26:06PM +0800, fgao@xxxxxxxxxx wrote: > From: Gao Feng <fgao@xxxxxxxxxx> > > The helper module permits the helper modules register expectfn, and > it could be hold by external caller. But when the module is unloaded, > there may be some pending expect nodes which still hold the function > reference. It may cause unexpected behavior, even panic. > > Now it would delete the expect nodes which uses the expectfn when > unregister expectfn. And it must use the rcu_read_lock to protect > the expectfn until insert it or doesn't access it ever. Expectations should be removed by when the helper module is gone, so what is the problem here? -- 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