[1309] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: Problem PCMCIA and network initialization

daemon@ATHENA.MIT.EDU (Al Longyear)
Thu Nov 2 04:31:45 1995

From: "Al Longyear" <longyear@sii.com>
To: tytso@mit.edu (Theodore Ts'o)
Date: Wed, 1 Nov 1995 10:28:25 -0800 (PST)
Cc: longyear@netcom.com, gpg109@rsphy4.anu.edu.au, linux-net@vger.rutgers.edu,
        gpg109@rsphy1.anu.edu.au, iialan@iifeak.swan.ac.uk,
        Linus.Torvalds@cs.helsinki.fi
In-Reply-To: <9511011729.AA28201@dcl.MIT.EDU> from "Theodore Ts'o" at Nov 1, 95 12:29:42 pm
Reply-To: "Al Longyear" <longyear@netcom.com>

Theodore Ts'o wrote:
> 
> 
> I found the problem; it was indeed in the 2.2 version of PPP which is in
> the kernel.  The problem is that when the PPP driver is in the kernel,
> it tries to remove itself from the device chain by calling
> unregister_netdev() directly, instead of simply return ENODEV.
> unregister_netdev() modifies the device chain, but this confuses the
> heck out of net_dev_init(), which is itself iterating through the list
> and doesn't expect for a device to return SUCCESS and remove itself from
> the list.  

Thank you. I will make the change to my copy if Linus will do the same
to his.

-- 
Al Longyear                          longyear@sii.com
The above opinions do not necessarily represent those of the Management
of System Integrators nor any of its subsidiaries.

home help back first fref pref prev next nref lref last post