be2net: Fix error recovery paths
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Fri, 25 Nov 2011 05:48:06 +0000 (05:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Nov 2011 19:52:29 +0000 (14:52 -0500)
commit3bb62f4f95ba004048bafb460179b5db33aff787
tree32bfedf731290148aefee6e6ac80a6d5f51ee18d
parent590c391dd362479b27a67c8d797ce348c5798b93
be2net: Fix error recovery paths

When TX queues are created again after error recovery,
netif_set_real_num_tx_queues() is invoked to update number of real
TX queues created. rtnl lock needs to be held when invoking this routine.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c