OpenCloudOS-Kernel/drivers/crypto/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
..
chtls Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2018-08-29 13:38:39 -07:00
Kconfig crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00
Makefile crypto: chtls - Makefile Kconfig 2018-03-31 23:37:33 -04:00
chcr_algo.c crypto: chelsio - Fix memory corruption in DMA Mapped buffers. 2018-09-28 12:44:34 +08:00
chcr_algo.h crypt: chelsio - Send IV as Immediate for cipher algo 2018-05-31 00:13:48 +08:00
chcr_core.c cxgb4: fix the error path of cxgb4_uld_register() 2018-10-18 16:26:36 -07:00
chcr_core.h crypt: chelsio - Send IV as Immediate for cipher algo 2018-05-31 00:13:48 +08:00
chcr_crypto.h crypto: chelsio - Fix memory corruption in DMA Mapped buffers. 2018-09-28 12:44:34 +08:00
chcr_ipsec.c crypto: chelsio - request to HW should wrap 2018-05-19 00:13:56 +08:00