]> 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)
commit428b08ffb0ce6ce02f71d0ed3a46b2cf7e0e33a3
treef3d1c6165eaad0a4da113d684b27b493399ad2b1
parentc7602193bde0e5adb5e3e08920ca9bc22fdd7924
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: 670bddc26792 (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