projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a89e828
)
be2net: remove netif_stop_queue being called before register_netdev.
author
Ajit Khaparde
<ajit.khaparde@emulex.com>
Tue, 1 Feb 2011 23:41:59 +0000
(15:41 -0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 1 Feb 2011 23:41:59 +0000
(15:41 -0800)
It is illegal to call netif_stop_queue before register_netdev.
Signed-off-by: Ajit Khaparde <ajit.khaparde@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be_main.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/benet/be_main.c
b/drivers/net/benet/be_main.c
index 9aaf1ef704e9dc005385d38167077df157fe4ef5..28a32a6c8bf135fe043a607379a65c9b60b599a0 100644
(file)
--- a/
drivers/net/benet/be_main.c
+++ b/
drivers/net/benet/be_main.c
@@
-2626,8
+2626,6
@@
static void be_netdev_init(struct net_device *netdev)
netif_napi_add(netdev, &adapter->tx_eq.napi, be_poll_tx_mcc,
BE_NAPI_WEIGHT);
-
- netif_stop_queue(netdev);
}
static void be_unmap_pci_bars(struct be_adapter *adapter)