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

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)