* bug fix for kernel oops on shutdown
@ 1996-06-01 15:48 David Mosberger-Tang
0 siblings, 0 replies; only message in thread
From: David Mosberger-Tang @ 1996-06-01 15:48 UTC (permalink / raw)
Appended below is a small fix for the kernel oops that some people see
during a shutdown.
--david
--- 386/drivers/net/de4x5.c Tue May 28 19:46:35 1996
+++ linux/drivers/net/de4x5.c Sat Jun 1 08:34:20 1996
@@ -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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-06-01 15:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-06-01 15:48 bug fix for kernel oops on shutdown David Mosberger-Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox