Re: [PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
I meant to add that I have tested the patch I sent on both UP and SMP; PPP connections work fine and the exploit program doesn't hang the system. Paul. -- Paul Mackerras, Open Source Research Fellow, Linuxcare, Inc. +61 2 6262 8990 tel, +61 2 6262 8991 fax [EMAIL PROTECTED], http://www.linuxcar

[PATCH] fix for ppp_async lockup in 2.4.0

2001-01-14 Thread Paul Mackerras
The following patch fixes the lockup inside ppp_async_push which can occur if you set both the master and slave of a pty to PPP line discipline. The patch essentially makes 3 changes to ppp_async.c: 1. We detect the recursion that can occur if the tty driver's write function calls back to the