]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/s390/net/claw.c
[SK_BUFF]: Introduce skb_mac_header()
[linux-2.6-omap-h63xx.git] / drivers / s390 / net / claw.c
index 7809a79feec735537d7746043f107662adccb8e2..6dd64d0c8d45df40490c08c43fde4ab974496ac1 100644 (file)
@@ -3525,8 +3525,8 @@ unpack_next:
                                 memcpy(skb_put(skb,len_of_data),
                                        privptr->p_mtc_envelope,
                                        len_of_data);
-                                skb->mac.raw=skb->data;
                                 skb->dev=dev;
+                               skb_reset_mac_header(skb);
                                 skb->protocol=htons(ETH_P_IP);
                                 skb->ip_summed=CHECKSUM_UNNECESSARY;
                                 privptr->stats.rx_packets++;