skb->dev = slave->dev;
skb_reset_mac_header(skb);
- skb->nh.raw = skb->data + ETH_HLEN;
+ skb->nh.raw = skb->mac.raw + ETH_HLEN;
skb->protocol = PKT_TYPE_LACPDU;
skb->priority = TC_PRIO_CONTROL;
skb->dev = slave->dev;
skb_reset_mac_header(skb);
- skb->nh.raw = skb->data + ETH_HLEN;
+ skb->nh.raw = skb->mac.raw + ETH_HLEN;
skb->protocol = PKT_TYPE_LACPDU;
marker_header = (struct marker_header *)skb_put(skb, length);
memcpy(data, &pkt, size);
skb_reset_mac_header(skb);
- skb->nh.raw = data + ETH_HLEN;
+ skb->nh.raw = skb->mac.raw + ETH_HLEN;
skb->protocol = pkt.type;
skb->priority = TC_PRIO_CONTROL;
skb->dev = slave->dev;