linux_dsm_epyc7002/drivers/net/ethernet/chelsio
Ganesh Goudar 40b06553c9 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>
2018-10-18 16:26:36 -07:00
..
cxgb net: chelsio: cxgb2: remove unused array pci_speed 2018-08-10 10:24:50 -07:00
cxgb3 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-10-06 14:43:42 -07:00
cxgb4 cxgb4: fix the error path of cxgb4_uld_register() 2018-10-18 16:26:36 -07:00
cxgb4vf net: chelsio: Use zeroing memory allocator instead of allocator/memset 2018-06-04 16:07:30 -04:00
libcxgb libcxgb: replace vmalloc and memset with vzalloc 2018-07-21 16:32:59 -07:00
Kconfig cxgb4: fix thermal configuration dependencies 2018-10-11 10:21:15 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00