kernel_samsung_a53x/drivers/net/ethernet/intel/igb
Mateusz Palczewski 32862c9726 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
[ Upstream commit 8c0b48e01daba5ca58f939a8425855d3f4f2ed14 ]

Add check for return of igb_update_ethtool_nfc_entry so that in case
of any potential errors the memory alocated for input will be freed.

Fixes: 0e71def25281 ("igb: add support of RX network flow classification")
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Mateusz Palczewski <mateusz.palczewski@intel.com>
Tested-by: Arpana Arland <arpanax.arland@intel.com> (A Contingent worker at Intel)
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 10:58:29 +01:00
..
e1000_82575.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_82575.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_defines.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_hw.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_i210.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_i210.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_mac.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_mac.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_mbx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_mbx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_nvm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_nvm.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_phy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_phy.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
e1000_regs.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igb.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igb_ethtool.c igb: Fix potential memory leak in igb_add_ethtool_nfc_entry 2024-11-18 10:58:29 +01:00
igb_hwmon.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igb_main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
igb_ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00