patch-pre2.0.8 linux/drivers/net/de4x5.c
Next file: linux/drivers/net/loopback.c
Previous file: linux/drivers/cdrom/mcdx.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon May 27 13:36:04 1996
- Orig file:
pre2.0.7/linux/drivers/net/de4x5.c
- Orig date:
Fri May 17 15:32:15 1996
diff -u --recursive --new-file pre2.0.7/linux/drivers/net/de4x5.c linux/drivers/net/de4x5.c
@@ -2642,7 +2642,9 @@
ret = lp->rx_skb[index];
lp->rx_skb[index] = p;
- skb_put(ret, len);
+
+ if ((unsigned long) ret > 1)
+ skb_put(ret, len);
return ret;
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