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