igbvf: fix panic on load
Subsystems (2)
PATCH 1/1 igbvf: fix panic on load
From: Emil Tantilov <[email protected]>
Introduced by commit:e6484930d7c73d324bccda7d43d131088da697b9
net: allocate tx queues in register_netdevice
Signed-off-by Emil Tantilov <[email protected]>
Acked-by Greg Rose <[email protected]>
Tested-by Jeff Pieper <[email protected]>
Signed-off-by Jeff Kirsher <[email protected]>
---
drivers/net/igbvf/netdev.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
drivers/net/igbvf/netdev.c +4 -4
@@ -2783,15 +2783,15 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,/* reset the hardware with the new settings */ igbvf_reset (adapter); -/* tell the stack to leave us alone until igbvf_open() is called */ -netif_carrier_off (netdev); -netif_stop_queue (netdev); -strcpy (netdev->name,"eth%d" ); err =register_netdev (netdev);if (err) goto err_hw_init; +/* tell the stack to leave us alone until igbvf_open() is called */ +netif_carrier_off (netdev); +netif_stop_queue (netdev); +igbvf_print_device_info (adapter);igbvf_initialize_last_counter_stats (adapter);
From: Jeff Kirsher <[email protected]>
Date: Thu, 28 Oct 2010 03:59:51 -0700
Quoted 9 lines
From: Emil Tantilov <[email protected]>
Introduced by commit:e6484930d7c73d324bccda7d43d131088da697b9
net: allocate tx queues inregister_netdeviceSigned-off-by Emil Tantilov <[email protected]>Acked-by Greg Rose <[email protected]>Tested-by Jeff Pieper <[email protected]>Signed-off-by Jeff Kirsher <[email protected]>
Applied.