Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: gadget: fix ethernet gadget crash in gether_setup
Crash is triggered by commit e648493 ("net: allocate tx queues in register_netdevice"), which moved tx netqueue creation into register_netdev. So now calling netif_stop_queue() before register_netdev causes an oops. Move netif_stop_queue() after net device registration to fix crash. Signed-off-by: Dmitry Artamonow <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information