master/device.c
changeset 759 fe32d4cdc9c3
parent 725 8bacb27f3aa2
child 986 a486591ba86b
--- a/master/device.c	Mon Sep 24 12:12:11 2007 +0000
+++ b/master/device.c	Tue Oct 02 08:35:01 2007 +0000
@@ -168,7 +168,7 @@
 
     for (i = 0; i < EC_TX_RING_SIZE; i++) {
         device->tx_skb[i]->dev = net_dev;
-        eth = (struct ethhdr *) (device->tx_skb[i]->data + ETH_HLEN);
+        eth = (struct ethhdr *) (device->tx_skb[i]->data);
         memcpy(eth->h_source, net_dev->dev_addr, ETH_ALEN);
     }
 }