Thread (3 messages) flat view 3 messages, 2 authors, 2006-07-11

Re: Question on device events and unregister_netdev.

From: David Miller <davem@davemloft.net>
Date: 2006-07-11 23:42:43

From: Ben Greear <redacted>
Date: Tue, 11 Jul 2006 16:27:25 -0700
So, the question is: Should I be calling unregister_netdev from the
notifier callback?
Not really, as you saw it can be deadlock prone.

One idea is to run the unregister asynchronously via a workqueue.
That should be able to get you out of the deadlock.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help