fix rtnl lock when register netdev