Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: bug fix for kernel oops on shutdown
Date: Sat, 1 Jun 1996 08:48:30 -0700	[thread overview]
Message-ID: <199606011548.IAA00316@koala.azstarnet.com> (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;

                 reply	other threads:[~1996-06-01 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox