Messages in this thread | | | Date | Sat, 29 May 1999 12:15:10 +0200 (CEST) | From | Tomasz Lemiech <> | Subject | Re: Diald dies on closing idle link (details) |
| |
On Mon, 24 May 1999, Ralph Clark wrote:
> After diald has been manually shut down again (note the one of the > point-to-point sl0 routes doesn't go away when it should). > > jove:~ # netstat -rn > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt Iface > 158.152.1.222 0.0.0.0 255.255.255.255 UH 0 0 0 sl0 > 192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 dummy > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > > When diald dies unexpectedly, even if pppd is brought down, it fails to > clear any of the sl0 routes. > > jove:~ # netstat -rn > Kernel IP routing table > Destination Gateway Genmask Flags MSS Window irtt Iface > 158.152.1.222 0.0.0.0 255.255.255.255 UH 0 0 0 sl0 > 158.152.1.222 0.0.0.0 255.255.255.255 UH 0 0 0 sl0 > 192.168.0.1 0.0.0.0 255.255.255.255 UH 0 0 0 dummy > 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 > 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo > 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 sl0
True. This problem also occurs, when diald is not used. For example - when the interface ppp0 is up and the routes via ppp0 are set, killing -SIGKILL pppd does not clear the interface and the routes, but killing -SIGTERM does. The same problem appears with other serial network interfaces - eg. SLIP with dip or slattach (BTW, killing slattach with any signal does not cause interface removing :)). Well, dear kernel hackers, is this a feature or a bug? ;) (this happens with all 2.2 and also late 2.1.x kernels. 2.0.x are OK). Hard to believe, that nobody noticed that earlier.
Regards,
*Szpajder* aka Tomasz Lemiech <mailto: szpajder@staszic.waw.pl>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |