]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Fix error handling in alloc_uld_rxqs().
authorGanesh Goudar <ganeshgr@chelsio.com>
Wed, 26 Oct 2016 07:56:38 +0000 (13:26 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 18:56:26 +0000 (14:56 -0400)
commitf80b16b635d22823f3982e6759b98b6a2fd614de
treef3d1c6165eaad0a4da113d684b27b493399ad2b1
parent113e80a88431bc644af5f28d9f214f6c5a1e8a14
cxgb4: Fix error handling in alloc_uld_rxqs().

Fix to release resources properly in error handling path of
alloc_uld_rxqs(), This patch also removes unwanted arguments
and avoids calling the same function twice.

Fixes: 781edc2e4515 (cxgb4: Add support for dynamic allocation
       of resources for ULD
Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c