On Fri, Oct 23, 1998 at 10:01:50AM -0400, Avery Pennarun wrote:

> You _must_ use the -x, or else it exports some symbol that it (apparently)
> shouldn't be exporting, and the second insmod will segfault.  I think this
> is a bug in ethertap, but I'm not sure.  There is definitely a modutils bug
> that causes the segfault, and the maintainer is aware of it (or he was :)).

Sorry to reply to myself...

I was behind the times!  There's a new modutils (modutils-2.1.121) that
fixes the segfault.  And I just figured out how to fix ethertap to make '-x'
completely unnecessary.  Here's the patch.  I'll send it to Linus shortly.

Have fun,

Avery



--- linux/drivers/net/ethertap-old.c    Fri Oct 23 10:25:39 1998
+++ linux/drivers/net/ethertap.c        Fri Oct 23 10:25:44 1998
@@ -329,7 +329,7 @@
 
 #ifdef MODULE
 
-int unit;
+static int unit;
 MODULE_PARM(unit,"i");
 
 static char devicename[9] = { 0, };
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to