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

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