NaT consumption faults in current 2.5 BK kernel (FIXED)

From: Peter Chubb <peter_at_chubb.wattle.id.au>
Date: 2003-07-18 10:08:56
>>>>> "Peter" == Peter Chubb <peter@chubb.wattle.id.au> writes:

Peter> OK, thanks to the latest mod from David, I have the system
Peter> running on the simulator.  Hurrah.

Peter> I can see a NaT consumption fault every time I cat
Peter> /proc/net/dev

OK, the problem is in the simulated ethernet driver.  Trivial Patch appended:

===== arch/ia64/hp/sim/simeth.c 1.8 vs edited =====
--- 1.8/arch/ia64/hp/sim/simeth.c	Wed Jun  4 20:38:47 2003
+++ edited/arch/ia64/hp/sim/simeth.c	Fri Jul 18 09:36:19 2003
@@ -223,7 +223,7 @@
 	dev->set_multicast_list = set_multicast_list; /* no yet used */
 
 	err = register_netdev(dev);
-	if (dev) {
+	if (err) {
 		kfree(dev);
 		return err;
 	}
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jul 17 20:10:21 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:16 EST