summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_synctty.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-07-16 09:14:23 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-07-16 09:14:23 -0700
commit4a21b8cb3550f19f838f7c48345fbbf6a0e8536b (patch)
tree2cd257d7255e9fa3524a67da4fa1d22b01023c87 /drivers/net/ppp_synctty.c
parent35b5c55fee08e6e4001ba98060a2d0b82f70b5f4 (diff)
downloadop-kernel-dev-4a21b8cb3550f19f838f7c48345fbbf6a0e8536b.zip
op-kernel-dev-4a21b8cb3550f19f838f7c48345fbbf6a0e8536b.tar.gz
Revert "ppp: Fix throttling bugs"
This reverts commit a6540f731d506d9e82444cf0020e716613d4c46c, 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>
Diffstat (limited to 'drivers/net/ppp_synctty.c')
-rw-r--r--drivers/net/ppp_synctty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ppp_synctty.c b/drivers/net/ppp_synctty.c
index aa3d39f..d2fa2db 100644
--- a/drivers/net/ppp_synctty.c
+++ b/drivers/net/ppp_synctty.c
@@ -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
OpenPOWER on IntegriCloud