1
0
Fork 0
alistair23-linux/drivers/net/ethernet/marvell/octeontx2
Colin Ian King 9e0a537d06 octeontx2-af: Fix memory leak of object buf
Currently the error return path when lfs fails to allocate is not free'ing
the memory allocated to buf. Fix this by adding the missing kfree.

Addresses-Coverity: ("Resource leak")
Fixes: f788409714 ("octeontx2-af: Formatting debugfs entry rsrc_alloc.")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Sunil Goutham <sgoutham@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-03-24 12:33:06 -07:00
..
af octeontx2-af: Fix memory leak of object buf 2021-03-24 12:33:06 -07:00
nic octeontx2-pf: Clear RSS enable flag on interace down 2021-03-18 14:12:42 -07:00
Kconfig octeontx2-af: Add devlink suppoort to af driver 2020-12-14 17:49:28 -08:00
Makefile octeontx2-pf: Add Marvell OcteonTX2 NIC driver 2020-01-27 14:33:39 +01:00