aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhen Ni <zhen.ni@easystack.cn>2025-08-27 19:56:31 +0800
committerTony Nguyen <anthony.l.nguyen@intel.com>2025-09-02 11:08:52 -0700
commita556f06338e1d5a85af0e32ecb46e365547f92b9 (patch)
treebbb05caa967c3038eac63846fe3e1e861efbfaae /tools/perf/scripts/python
parenti40e: remove read access to debugfs files (diff)
downloadwireguard-linux-a556f06338e1d5a85af0e32ecb46e365547f92b9.tar.xz
wireguard-linux-a556f06338e1d5a85af0e32ecb46e365547f92b9.zip
i40e: Fix potential invalid access when MAC list is empty
list_first_entry() never returns NULL - if the list is empty, it still returns a pointer to an invalid object, leading to potential invalid memory access when dereferenced. Fix this by using list_first_entry_or_null instead of list_first_entry. Fixes: e3219ce6a775 ("i40e: Add support for client interface for IWARP driver") Signed-off-by: Zhen Ni <zhen.ni@easystack.cn> Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions