summaryrefslogtreecommitdiffstats
path: root/kernel/fail_function.c
diff options
context:
space:
mode:
authorGanesh Goudar <ganeshgr@chelsio.com>2018-10-18 19:34:19 +0530
committerDavid S. Miller <davem@davemloft.net>2018-10-18 16:26:36 -0700
commit40b06553c906a56ae31677b3ecbd49546947698d (patch)
treea9acaee91fa26232905f9e857ebd42ac2158e70e /kernel/fail_function.c
parent35b842f25b603028fab7ff11b54a4410ee345c8a (diff)
downloadlinux-40b06553c906a56ae31677b3ecbd49546947698d.tar.bz2
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 'kernel/fail_function.c')
0 files changed, 0 insertions, 0 deletions