diff options
author | Eric Garver <[email protected]> | 2016-10-17 16:30:12 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-10-19 10:35:46 -0400 |
commit | 3805a938a6c24284863732fd45cec5a04609a224 (patch) | |
tree | 3bfabe7aa9cd46d2bc4cda2ceb532981558908f1 /net/switchdev/switchdev.c | |
parent | b4f0fd4baa90ecce798e0d26d1cce8f4457f2028 (diff) |
flow_dissector: Check skb for VLAN only if skb specified.
Fixes a panic when calling eth_get_headlen(). Noticed on i40e driver.
Fixes: d5709f7ab776 ("flow_dissector: For stripped vlan, get vlan info from skb->vlan_tci")
Signed-off-by: Eric Garver <[email protected]>
Reviewed-by: Jakub Sitnicki <[email protected]>
Acked-by: Amir Vadai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions