patch-2.0.11 linux/net/ethernet/eth.c
Next file: linux/net/ipv4/af_inet.c
Previous file: linux/net/core/sock.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sat Aug  3 11:46:51 1996
-  Orig file: 
v2.0.10/linux/net/ethernet/eth.c
-  Orig date: 
Mon May 13 12:15:24 1996
diff -u --recursive --new-file v2.0.10/linux/net/ethernet/eth.c linux/net/ethernet/eth.c
@@ -273,7 +273,7 @@
 	int ip_length;
 
 	IS_SKB(dest);
-	eth=(struct ethhdr *)dest->data;
+	eth=(struct ethhdr *)src;
 	if(eth->h_proto!=htons(ETH_P_IP))
 	{
 		memcpy(dest->data,src,length);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov