patch-2.4.23 linux-2.4.23/drivers/net/fmv18x.c
Next file: linux-2.4.23/drivers/net/ibm_emac/ibm_emac.h
Previous file: linux-2.4.23/drivers/net/fealnx.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/fmv18x.c
- Orig date:
2003-06-13 07:51:34.000000000 -0700
diff -urN linux-2.4.22/drivers/net/fmv18x.c linux-2.4.23/drivers/net/fmv18x.c
@@ -370,7 +370,7 @@
struct net_local *lp = dev->priv;
int ioaddr = dev->base_addr;
short length = skb->len;
- unsigned char *buf = skb->data;
+ unsigned char *buf;
unsigned long flags;
/* Block a transmit from overlapping. */
@@ -389,6 +389,7 @@
return 0;
length = ETH_ZLEN;
}
+ buf = skb->data;
if (net_debug > 4)
printk("%s: Transmitting a packet of length %lu.\n", dev->name,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)