[tulip] Careful with Conexant LANfinity and 2.4

Donald Becker becker@scyld.com
Wed, 25 Jul 2001 16:37:46 -0400 (EDT)


On Tue, 24 Jul 2001, Kent Hunt wrote:

> Date: Tue, 24 Jul 2001 11:17:40 -0700 (PDT)
> From: Kent Hunt <kenthunt@yahoo.com>
> To: Donald Becker <becker@scyld.com>
> Cc: tulip <tulip@scyld.com>
> Subject: Re: [tulip] Careful with Conexant LANfinity and 2.4
> 
> Donald,
> 
> 	Any ideas why I'm getting 
> kernel: Warning: kfree_skb on hard IRQ d09df9d0
> 	?
> 	This is something to worry about. I just got
> system lockup and disk corruption. So I do not
> recommend testing with this on a production system.

Here is the patch to fix the first problem.
I'm not certain that the second problem is related.

retrieving revision 1.60
diff -u -r1.60 tulip.c
--- tulip.c	2001/07/10 02:04:42	1.60
+++ tulip.c	2001/07/25 20:33:30
@@ -24,7 +24,7 @@
 
 /* These identify the driver base version and may not be removed. */
 static const char version1[] =
-"tulip.c:v0.92w 7/9/2001  Written by Donald Becker <becker@scyld.com>\n";
+"tulip.c:v0.92wa 7/11/2001  Written by Donald Becker <becker@scyld.com>\n";
 static const char version2[] =
 "  http://www.scyld.com/network/tulip.html\n";
 
@@ -2740,7 +2740,7 @@
 				}
 
 				/* Free the original skb. */
-				dev_free_skb(tp->tx_skbuff[entry]);
+				dev_free_skb_irq(tp->tx_skbuff[entry]);
 				tp->tx_skbuff[entry] = 0;
 			}


Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993