On Mon, Dec 01, 2008 at 05:11:21PM -0800, Erik Nordmark wrote:
> Of course, if you take Jim's suggesting to hold a ref for each 
> taskq_dispatch, then you will never get to ipsecesp_ddi_destroy() with 
> references around.

Perhaps, then, we do the same thing with esp_kcf_callback()?  Currently,
there's an ipsec_{in,out}_stackid field that perhaps does not need to be
there if, and only if, we netstack_hold() before calling EF asynchronously.

So the fix becomes far more interesting than simply fixing the lock-held
problem.  This is cool!

Thanks Jim and Erik!
Dan
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to