Problem in ppp & patch to solve

Mailing lists (lists@cnti.uanet.kharkov.ua)
Mon, 28 Sep 1998 11:19:42 +0300


In message <199809251039.NAA05055@sanders.piton.net> elf@piton.net
writes:

>>I use small machine (P60) under linux-2.1 as a small dial-in modem
>>pool. Under 2.1.88 ppp works fine, but under 2.1.115-2.1.119 the
>>first users conection after reboot is OK, but after day of work
>>pppd don't sent LCP requests. I run pppd under strace and see
>>that syscall write() with LCP packet works OK, but no one byte
>>sent to modem. After reboot all again works correct for a some time.

> I have the same problem with kernel 2.1.122 ;((
>>
>> Stanislav Voronyi.

> Did you solve that problem? Have you any idea about cause?

This is a small patch to fix this problem:
------------------------------------------------------------------

--- ppp.c.orig Mon Sep 28 11:02:28 1998
+++ ppp.c Fri Sep 25 20:52:07 1998
@@ -1289,6 +1289,9 @@

CHECK_PPP_MAGIC(ppp);

+ /* ppp_dev_close may be called with tbusy==1 so we must set it to 0 */
+ dev->tbusy=0;
+
MOD_DEC_USE_COUNT;

return 0;
-------------------------------------------------------------------
Pls add tihis line ti official kernel.

SY, Stanislav Voronyi.

-
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/