mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Revert "ppp: Fix throttling bugs"
This reverts commit a6540f731d
, as
requested by Alan:
"... as it was wrong, the pty code is now fixed and the fact this
isn't reverted is breaking pptp setups."
Requested-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
35b5c55fee
commit
4a21b8cb35
2 changed files with 2 additions and 0 deletions
|
@ -356,6 +356,7 @@ ppp_asynctty_receive(struct tty_struct *tty, const unsigned char *buf,
|
|||
if (!skb_queue_empty(&ap->rqueue))
|
||||
tasklet_schedule(&ap->tsk);
|
||||
ap_put(ap);
|
||||
tty_unthrottle(tty);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -397,6 +397,7 @@ ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf,
|
|||
if (!skb_queue_empty(&ap->rqueue))
|
||||
tasklet_schedule(&ap->tsk);
|
||||
sp_put(ap);
|
||||
tty_unthrottle(tty);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue