summaryrefslogtreecommitdiffstats
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorLi Li <boolli@google.com>2026-01-23 06:58:06 +0000
committerTony Nguyen <anthony.l.nguyen@intel.com>2026-02-25 11:43:57 -0800
commitbc3b31977314433e4685ae92853d1b6e91ad7bc2 (patch)
tree3434972010ce064c5024758d8d21239ed5e143ad /scripts/const_structs.checkpatch
parente403bf4013a665961bdfdf65193e3076c3d155a5 (diff)
downloadlinux-bc3b31977314433e4685ae92853d1b6e91ad7bc2.tar.gz
linux-bc3b31977314433e4685ae92853d1b6e91ad7bc2.zip
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> Tested-by: Samuel Salin <Samuel.salin@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions