patch-2.4.23 linux-2.4.23/drivers/net/seeq8005.c
Next file: linux-2.4.23/drivers/net/sis900.c
Previous file: linux-2.4.23/drivers/net/r8169.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/net/seeq8005.c
- Orig date:
2003-06-13 07:51:35.000000000 -0700
diff -urN linux-2.4.22/drivers/net/seeq8005.c linux-2.4.23/drivers/net/seeq8005.c
@@ -379,7 +379,7 @@
{
struct net_local *lp = (struct net_local *)dev->priv;
short length = skb->len;
- unsigned char *buf = skb->data;
+ unsigned char *buf;
if(length < ETH_ZLEN)
{
@@ -388,6 +388,8 @@
return 0;
length = ETH_ZLEN;
}
+ buf = skb->data;
+
/* Block a timer-based transmit from overlapping */
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)