patch-1.3.14 linux/net/ethernet/pe2.c
Next file: linux/net/ipv4/arp.c
Previous file: linux/net/ax25/ax25_timer.c
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Thu Jul 27 19:34:36 1995
- Orig file:
v1.3.13/linux/net/ethernet/pe2.c
- Orig date:
Fri Jun 30 16:22:31 1995
diff -u --recursive --new-file v1.3.13/linux/net/ethernet/pe2.c linux/net/ethernet/pe2.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, ETH_P_IPX,
- dest_node, NULL, len - hard_len);
- skb->h.raw = skb->data + hard_len;
+
+ dev->hard_header(skb, dev, ETH_P_IPX, 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