diff options
author | Mateusz Palczewski <mateusz.palczewski@intel.com> | 2023-10-19 23:40:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-10-20 15:29:40 +0300 |
commit | 8c0b48e01daba5ca58f939a8425855d3f4f2ed14 (patch) | |
tree | 047b9b88b776376e4ddf52b1500e8c0d30dbd839 /scripts/gdb/linux/vmalloc.py | |
parent | fb71ba0ed8be9534493c80ba00142a64d9972a72 (diff) | |
download | linux-8c0b48e01daba5ca58f939a8425855d3f4f2ed14.tar.xz |
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 <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>
Diffstat (limited to 'scripts/gdb/linux/vmalloc.py')
0 files changed, 0 insertions, 0 deletions