diff options
| author | Mateusz Palczewski <[email protected]> | 2023-10-19 20:40:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-10-20 12:29:40 +0000 |
| commit | 8c0b48e01daba5ca58f939a8425855d3f4f2ed14 (patch) | |
| tree | 047b9b88b776376e4ddf52b1500e8c0d30dbd839 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | treewide: Spelling fix in comment (diff) | |
| download | kernel-8c0b48e01daba5ca58f939a8425855d3f4f2ed14.tar.gz kernel-8c0b48e01daba5ca58f939a8425855d3f4f2ed14.zip | |
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]>
Tested-by: Arpana Arland <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Jacob Keller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
