Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bonding: fix null pointer deref in bond_ipsec_offload_ok
[ Upstream commit 95c90e4 ] We must check if there is an active slave before dereferencing the pointer. Fixes: 18cb261 ("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> Signed-off-by: Sasha Levin <sashal@kernel.org>
- Loading branch information