Re: [patch 03/14] be sure to close /dev/ppp when reconnecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Marco d'Itri writes:

> From: Simon Peter <dn.tlp@xxxxxxx>
> Subject: [patch 03/14] Bug#306261: pppd does not properly close /dev/ppp on persist
> 
> When using the kernel PPPoE driver, pppd never
> closes /dev/ppp when the link has come down.

If that's true, I'd rather find out where it should be closing things
but isn't.

> It opens superfluous fds to the device each time it re-opens the
> connection, with the unclosed ones falsely reported always ready for
> data by select().
> 
> This makes pppd eat up 100% CPU time after the first persist because of
> the always instantly returning select() on the unclosed fds.

I use pppd with the kernel pppoe driver and persist mode and I have
never seen this problem, so there must be more to it than this.

Paul.
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux