Subject: Re: kern/28375: kernel panic upon pppoe reconnect
To: None <firstname.lastname@example.org>
From: Martin Husemann <email@example.com>
Date: 11/21/2004 15:40:56
On Sun, Nov 21, 2004 at 02:19:49PM +0100, firstname.lastname@example.org wrote:
> sc->sc_eth_if: 0xc09fc038
> sc->sc_eth_if->if_output: 0xdeadbeef
Sorry, I didn't understand your description in the PR correctly, I think.
You mean you are detaching the USB device?
This will make the interface pointer (which is stored in the pppoe state)
stale. When you reconnect it, your ethernet device will get a new softc,
and you will have to re-attach it to the pppoe pseudo device.
One way to do this now is to use ifwatchd(8).
I agree that it is a bug that the pppoe kernel part does not recognize this
and clear its interface pointer. I'll see what I can do about that.