patch-2.4.23 linux-2.4.23/drivers/net/eth16i.c
Next file: linux-2.4.23/drivers/net/fealnx.c
Previous file: linux-2.4.23/drivers/net/epic100.c
Back to the patch index
Back to the overall index
-  Lines: 17
-  Date:
2003-11-28 10:26:20.000000000 -0800
-  Orig file: 
linux-2.4.22/drivers/net/eth16i.c
-  Orig date: 
2003-06-13 07:51:34.000000000 -0700
diff -urN linux-2.4.22/drivers/net/eth16i.c linux-2.4.23/drivers/net/eth16i.c
@@ -1057,7 +1057,7 @@
 	int ioaddr = dev->base_addr;
 	int status = 0;
 	ushort length = skb->len;
-	unsigned char *buf = skb->data;
+	unsigned char *buf;
 	unsigned long flags;
 
 	if(length < ETH_ZLEN)
@@ -1067,6 +1067,7 @@
 			return 0;
 		length = ETH_ZLEN;
 	}
+	buf = skb->data;
 
 	netif_stop_queue(dev);
 		
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)