Skip to content
Commit d3303a65 authored by Wolfgang Bumiller's avatar Wolfgang Bumiller Committed by David S. Miller
Browse files

net: sched: fix TCF_LAYER_LINK case in tcf_get_base_ptr



TCF_LAYER_LINK and TCF_LAYER_NETWORK returned the same pointer as
skb->data points to the network header.
Use skb_mac_header instead.

Signed-off-by: default avatarWolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 560a6607
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