diff options
author | Nikolay Aleksandrov <razor@blackwall.org> | 2024-08-16 14:48:11 +0300 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2024-08-20 16:29:28 +0300 |
commit | 95c90e4ad89d493a7a14fa200082e466e2548f9d (patch) | |
tree | 3cf4de0de4064901e3b364f3d148accca353e9f8 /tools/perf/scripts/python/task-analyzer.py | |
parent | fc59b9a5f7201b9f7272944596113a82cc7773d5 (diff) | |
download | linux-95c90e4ad89d493a7a14fa200082e466e2548f9d.tar.xz |
bonding: fix null pointer deref in bond_ipsec_offload_ok
We must check if there is an active slave before dereferencing the pointer.
Fixes: 18cb261afd7b ("bonding: support hardware encryption offload to slaves")
Signed-off-by: Nikolay Aleksandrov <razor@blackwall.org>
Reviewed-by: Hangbin Liu <liuhangbin@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions