[SK_BUFF]: Introduce skb_reset_mac_header(skb)
[deliverable/linux.git] / net / bluetooth / bnep / core.c
index f7ade186bf939bb79763ebd677a69d76dfd24d52..b1c2fa96c69ee4a6045b68f8d2e9f9f232782eae 100644 (file)
@@ -326,7 +326,7 @@ static inline int bnep_rx_frame(struct bnep_session *s, struct sk_buff *skb)
                return 0;
        }
 
-       skb->mac.raw = skb->data;
+       skb_reset_mac_header(skb);
 
        /* Verify and pull out header */
        if (!skb_pull(skb, __bnep_rx_hlen[type & BNEP_TYPE_MASK]))
This page took 0.024134 seconds and 5 git commands to generate.