![]() | |||||||||||||
Messages in this thread |
In article <E0yidHa-0000EJ-00@dwmw2.robinson.cam.ac.uk> you wrote: : and my current suspicion is that : someone's introduced a lock on the device structure, and that lock is already : held when the device open routine is called, hence a deadlock. Yes, it is locked. : Would using register_netdevice() instead of register_netdev() be useful? Yes, you should use register_netdevice() if you are sure that the lock has been already acquired. BTW it is always the case, when you are inside dev_open(), dev_close() or dev_ifsioc(). register_netdev() may be used only by init_module() routines or when ioctl is originated not by networking (f.e. by tty_ioctl()) Alexey Kuznetsov - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu | ||||||||||||
| Last update: 2005-03-22 12:43 [W:0.155 / U:0.090 seconds] ©2003-2008 Jasper Spaans | |||||||||||||