patch-pre2.0.10 linux/drivers/net/de4x5.c
Next file: linux/drivers/sound/pss.c
Previous file: linux/drivers/isdn/teles/llglue.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Jun 1 18:56:10 1996
- Orig file:
pre2.0.9/linux/drivers/net/de4x5.c
- Orig date:
Tue May 28 08:09:56 1996
diff -u --recursive --new-file pre2.0.9/linux/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -2675,7 +2675,7 @@
int i;
for (i=0; i<lp->rxRingSize; i++) {
- if (lp->rx_skb[i]) {
+ if ((unsigned long) lp->rx_skb[i] > 1) {
dev_kfree_skb(lp->rx_skb[i], FREE_WRITE);
}
lp->rx_ring[i].status = 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this