Skip to content
Commit 3805a938 authored by Eric Garver's avatar Eric Garver Committed by David S. Miller
Browse files

flow_dissector: Check skb for VLAN only if skb specified.

Fixes a panic when calling eth_get_headlen(). Noticed on i40e driver.

Fixes: d5709f7a

 ("flow_dissector: For stripped vlan, get vlan info from skb->vlan_tci")
Signed-off-by: default avatarEric Garver <e@erig.me>
Reviewed-by: default avatarJakub Sitnicki <jkbs@redhat.com>
Acked-by: default avatarAmir Vadai <amir@vadai.me>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b4f0fd4b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment