]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/wan/sealevel.c
[SK_BUFF]: Introduce skb_mac_header()
[net-next-2.6.git] / drivers / net / wan / sealevel.c
index 70fb1b98b1ddd271950ba08760f24f6da0e08ec4..131358108c5a02ffdb6c2d63357decf38515f0dc 100644 (file)
@@ -61,7 +61,7 @@ static void sealevel_input(struct z8530_channel *c, struct sk_buff *skb)
        /* Drop the CRC - it's not a good idea to try and negotiate it ;) */
        skb_trim(skb, skb->len-2);
        skb->protocol=htons(ETH_P_WAN_PPP);
-       skb->mac.raw=skb->data;
+       skb_reset_mac_header(skb);
        skb->dev=c->netdevice;
        /*
         *      Send it to the PPP layer. We don't have time to process