Re: Question on device events and unregister_netdev.

2006-07-11 Thread Ben Greear
David Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> 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 work

Re: Question on device events and unregister_netdev.

2006-07-11 Thread David Miller
From: Ben Greear <[EMAIL PROTECTED]> 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

Question on device events and unregister_netdev.

2006-07-11 Thread Ben Greear
Hello! I'm working on stacking some virtual interfaces, and ran into a problem with locking. Basically, I have an ethernet-like device, and on top of that I am putting 802.1Q vlans..and on top of that, some other vlan (macvlan). In the event notifier for the vlan, I attempt to delete all vlans