summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDave Ertman <david.m.ertman@intel.com>2025-05-22 13:16:57 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-24 08:58:36 +0200
commit245917d3c5ed7c6ae720302b64eac5c6f0c85177 (patch)
tree254c18af24f37503e86f563d01cd714874bc9933 /tools/perf/scripts/python/stackcollapse.py
parent2771d2ee3d95700f34e1e4df6a445c90565cd4e9 (diff)
downloadkernel-245917d3c5ed7c6ae720302b64eac5c6f0c85177.tar.gz
ice: add NULL check in eswitch lag check
[ Upstream commit 3ce58b01ada408b372f15b7c992ed0519840e3cf ] The function ice_lag_is_switchdev_running() is being called from outside of the LAG event handler code. This results in the lag->upper_netdev being NULL sometimes. To avoid a NULL-pointer dereference, there needs to be a check before it is dereferenced. Fixes: 776fe19953b0 ("ice: block default rule setting on LAG interface") Signed-off-by: Dave Ertman <david.m.ertman@intel.com> Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Tested-by: Sujai Buvaneswaran <sujai.buvaneswaran@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions