patch-1.3.14 linux/net/802/p8023.c

Next file: linux/net/802/psnap.c
Previous file: linux/net/802/p8022.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.13/linux/net/802/p8023.c linux/net/802/p8023.c
@@ -9,12 +9,8 @@
 		struct sk_buff *skb, unsigned char *dest_node)
 {
 	struct device	*dev = skb->dev;
-	unsigned long	len = skb->len;
-	unsigned long	hard_len = dev->hard_header_len;
-
-	dev->hard_header(skb, dev, len - hard_len,
-			dest_node, NULL, len - hard_len);
-	skb->h.raw = skb->data + hard_len;
+	
+	dev->hard_header(skb, dev, ETH_P_802_3, dest_node, NULL, skb->len);
 }
 
 struct datalink_proto *

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this