Re: [PATCH] Export current_is_keventd() for libphy

Roland Dreier
2006-12-05T23:49:16Z

> But running flush_scheduled_work() from within dev_close() is a very
> sensible thing to do, and dev_close is called under rtnl_lock().

I can't argue with that -- this has actually bitten me in the past.

Hmm, I'll try to understand why we need rtnl_lock() to cover dev_close...

- R.