| commit | 22da50475d8aa667c12e6219893acc1631f51dc7 | [log] [tgz] |
|---|---|---|
| author | Li Li <boolli@google.com> | Fri Jan 23 06:58:06 2026 +0000 |
| committer | Tony Nguyen <anthony.l.nguyen@intel.com> | Fri Jan 30 08:28:34 2026 -0800 |
| tree | b2661a5f9ca6d3726b9451686902a1510d7bbcfe | |
| parent | 5a7efbb86f149dc6140332f62052878d345046fc [diff] |
idpf: nullify pointers after they are freed
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>