Skip to content
Commit fa0bbaf6 authored by Andreas Ålgård's avatar Andreas Ålgård Committed by Carles Cufí
Browse files

net: promiscuous: Fix crash in promiscuous mode



When a packet can't be cloned we crash as we try to initialize the
cursor on a nullptr. We should check if we have a valid pointer,
and if we don't we drop the packet along with a warning.

Signed-off-by: default avatarAndreas Ålgård <aal@ixys.no>
parent 47396e18
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment