summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/huawei
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2018-10-18 17:04:19 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-19 02:26:36 +0300
commit40b06553c906a56ae31677b3ecbd49546947698d (patch)
treea9acaee91fa26232905f9e857ebd42ac2158e70e /drivers/net/ethernet/huawei
parent35b842f25b603028fab7ff11b54a4410ee345c8a (diff)
downloadlinux-40b06553c906a56ae31677b3ecbd49546947698d.tar.xz
cxgb4: fix the error path of cxgb4_uld_register()
On multi adapter setup if the uld registration fails even on one adapter, the allocated resources for the uld on all the adapters are freed, rendering the functioning adapters unusable. This commit fixes the issue by freeing the allocated resources only for the failed adapter. Signed-off-by: Ganesh Goudar <ganeshgr@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/huawei')
0 files changed, 0 insertions, 0 deletions