> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Mateusz Palczewski > Sent: Wednesday, October 4, 2023 3:55 PM > To: [email protected] > Cc: Palczewski, Mateusz <[email protected]>; Drewek, Wojciech > <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-net v1] igb: Fix potential memory leak > in igb_add_ethtool_nfc_entry > > 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 <[email protected]> > Signed-off-by: Mateusz Palczewski <[email protected]> > --- > drivers/net/ethernet/intel/igb/igb_ethtool.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >
Tested-by: Arpana Arland <[email protected]> (A Contingent worker at Intel) _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan _______________________________________________ Intel-wired-lan mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/intel-wired-lan
