bianbu-linux-6.6/drivers/net/ethernet/chelsio/cxgb4
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
..
clip_tbl.c treewide: kvzalloc() -> kvcalloc() 2018-06-12 16:19:22 -07:00
clip_tbl.h drivers, net, ethernet: convert clip_entry.refcnt from atomic_t to refcount_t 2017-10-22 02:22:38 +01:00
cudbg_common.c cxgb4: update dump collection logic to use compression 2018-01-19 14:56:32 -05:00
cudbg_entity.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_if.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_lib.c cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_lib.h cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cudbg_lib_common.h cxgb4: use zlib deflate to compress firmware dump 2018-01-19 14:56:32 -05:00
cudbg_zlib.c cxgb4: properly initialize variables 2018-01-24 10:56:59 -05:00
cudbg_zlib.h cxgb4: enable ZLIB_DEFLATE when building cxgb4 2018-01-24 10:56:59 -05:00
cxgb4.h cxgb4: fix thermal configuration dependencies 2018-10-11 10:21:15 -07:00
cxgb4_cudbg.c cxgb4: collect hardware queue descriptors 2018-09-03 22:10:37 -07:00
cxgb4_cudbg.h cxgb4: collect hardware dump in second kernel 2018-05-14 13:46:05 -04:00
cxgb4_dcb.c cxgb4: Use proper enum in cxgb4_dcb_handle_fw_update 2018-10-02 22:30:26 -07:00
cxgb4_dcb.h cxgb4: Use proper enum in IEEE_FAUX_SYNC 2018-10-02 22:30:52 -07:00
cxgb4_debugfs.c cxgb4: add per rx-queue counter for packet errors 2018-09-14 08:40:53 -07:00
cxgb4_debugfs.h
cxgb4_ethtool.c cxgb4: do not return DUPLEX_UNKNOWN when link is down 2018-07-16 13:43:10 -07:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: mk_act_open_req() buggers ->{local, peer}_ip on big-endian hosts 2018-08-07 12:33:58 -07:00
cxgb4_filter.h cxgb4: add support to create hash-filters via tc-flower offload 2017-11-01 22:06:03 +09:00
cxgb4_main.c cxgb4: fix thermal configuration dependencies 2018-10-11 10:21:15 -07:00
cxgb4_ptp.c cxgb4: ptp_clock_register() returns error pointers 2017-07-14 08:18:51 -07:00
cxgb4_ptp.h cxgb4: time stamping interface for PTP 2017-07-05 09:21:54 +01:00
cxgb4_tc_flower.c net_sched: remove list_head from tc_action 2018-08-21 12:45:44 -07:00
cxgb4_tc_flower.h cxgb4: convert flower table to use rhashtable 2017-11-01 22:06:03 +09:00
cxgb4_tc_u32.c net_sched: remove list_head from tc_action 2018-08-21 12:45:44 -07:00
cxgb4_tc_u32.h net: sched: push cls related args into cls_common structure 2017-08-07 09:42:37 -07:00
cxgb4_tc_u32_parse.h cxgb4: add support for offloading u32 filters 2016-09-22 01:40:01 -04:00
cxgb4_thermal.c cxgb4: Add thermal zone support 2018-10-09 11:16:28 -07:00
cxgb4_uld.c cxgb4: fix the error path of cxgb4_uld_register() 2018-10-18 16:26:36 -07:00
cxgb4_uld.h cxgb4: fix the error path of cxgb4_uld_register() 2018-10-18 16:26:36 -07:00
l2t.c cxgb4: update supported DCB version 2018-09-14 08:50:23 -07:00
l2t.h
Makefile cxgb4: fix thermal configuration dependencies 2018-10-11 10:21:15 -07:00
sched.c cxgb4: remove the unneeded locks 2018-10-03 09:34:52 -07:00
sched.h cxgb4: remove the unneeded locks 2018-10-03 09:34:52 -07:00
sge.c cxgb4: add per rx-queue counter for packet errors 2018-09-14 08:40:53 -07:00
smt.c cxgb4: introduce SMT ops to prepare for SMAC rewrite support 2017-10-20 13:06:53 +01:00
smt.h cxgb4: introduce SMT ops to prepare for SMAC rewrite support 2017-10-20 13:06:53 +01:00
srq.c libcxgb,cxgb4: use __skb_put_zero to simplfy code 2018-04-30 11:53:48 -04:00
srq.h cxgb4: Add support to initialise/read SRQ entries 2018-03-22 11:59:11 -04:00
t4_chip_type.h cxgb4: clean up init_one 2018-05-25 14:59:38 -04:00
t4_hw.c cxgb4: use FW_PORT_ACTION_L1_CFG32 for 32 bit capability 2018-10-05 10:34:18 -07:00
t4_hw.h cxgb4: RSS table is 4k for T6 2017-12-19 14:14:19 -05:00
t4_msg.h cxgb4: fix abort_req_rss6 struct 2018-09-11 09:02:02 -06:00
t4_pci_id_tbl.h cxgb4: Add new T5 PCI device ids 0x50af and 0x50b0 2018-08-14 10:08:56 -07:00
t4_regs.h cxgb4: collect number of free PSTRUCT page pointers 2018-07-24 10:12:21 -07:00
t4_tcb.h cxgb4: add support to delete hash filter 2017-11-01 22:06:03 +09:00
t4_values.h cxgb4: Update IngPad and IngPack values 2017-03-22 10:53:49 -07:00
t4fw_api.h cxgb4: Add thermal zone support 2018-10-09 11:16:28 -07:00
t4fw_version.h cxgb4: update 1.20.8.0 as the latest firmware supported 2018-08-09 14:35:42 -07:00