1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/marvell/octeontx2/af
Christophe JAILLET ecbd690b52 octeontx2-af: Fix some memory leaks in the error handling path of 'cgx_lmac_init()'
Memory allocated before 'lmac' is stored in 'cgx->lmac_idmap[]' must be
freed explicitly. Otherwise, in case of error, it will leak.

Rename the 'err_irq' label to better describe what is done at this place in
the error handling path.

Fixes: 6f14078e3e ("octeontx2-af: DMAC filter support in MAC block")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-04 13:07:00 +01:00
..
cgx.c octeontx2-af: Fix some memory leaks in the error handling path of 'cgx_lmac_init()' 2021-09-04 13:07:00 +01:00
cgx.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
cgx_fw_if.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
common.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
lmac_common.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
Makefile octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
mbox.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
mbox.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
npc.h octeontx2-pf: Add vlan-etype to ntuple filters 2021-08-29 10:48:32 +01:00
npc_profile.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
ptp.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
ptp.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rpm.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rpm.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu.c octeontx2-af: Add a 'rvu_free_bitmap()' function 2021-09-04 13:07:00 +01:00
rvu.h octeontx2-af: Add a 'rvu_free_bitmap()' function 2021-09-04 13:07:00 +01:00
rvu_cgx.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_cn10k.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_cpt.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_debugfs.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_devlink.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_devlink.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_nix.c octeontx2-af: Use NDC TX for transmit packet data 2021-08-31 11:30:11 +01:00
rvu_npa.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_npc.c octeontx2-af: Set proper errorcode for IPv4 checksum errors 2021-08-31 11:35:26 +01:00
rvu_npc_fs.c octeontx2-pf: Add vlan-etype to ntuple filters 2021-08-29 10:48:32 +01:00
rvu_reg.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_reg.h octeontx2-af: Use NDC TX for transmit packet data 2021-08-31 11:30:11 +01:00
rvu_sdp.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_struct.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_switch.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_trace.c octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00
rvu_trace.h octeontx2-af: Fix inconsistent license text 2021-08-29 10:46:15 +01:00