diff options
| author | Li Li <boolli@google.com> | 2026-01-23 09:58:06 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-04-02 14:09:54 +0300 |
| commit | 7b8410e13e7d245c345f81df48291930f0f5e64f (patch) | |
| tree | 58fabdafc45ea097257c4522dace011ee856b9a9 /tools/perf/scripts/python | |
| parent | acf942d0dccd896e60bb1b3d2261f9abef7f2d74 (diff) | |
| download | linux-7b8410e13e7d245c345f81df48291930f0f5e64f.tar.xz | |
idpf: nullify pointers after they are freed
commit bc3b31977314433e4685ae92853d1b6e91ad7bc2 upstream.
rss_data->rss_key needs to be nullified after it is freed.
Checks like "if (!rss_data->rss_key)" in the code could fail
if it is not nullified.
Tested: built and booted the kernel.
Fixes: 83f38f210b85 ("idpf: Fix RSS LUT NULL pointer crash on early ethtool operations")
Signed-off-by: Li Li <boolli@google.com>
Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com>
Tested-by: Samuel Salin <Samuel.salin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
