On Mon, Jan 22, 2018 at 2:53 AM, Wolfgang Bumiller
wrote:
> TCF_LAYER_LINK and TCF_LAYER_NETWORK returned the same pointer as
> skb->data points to the network header.
> Use skb_mac_header instead.
skb->data points to network header only on ingress side, IIRC.
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: Wolfgang Bumiller
---
Only change: fixed up commit message
Previous comment:
Alternatively this could return skb->head directly, but
'sk_buff->