Merge "net: ppp: ppp_async: Fix data stall issue over low latency tty port."

This commit is contained in:
Linux Build Service Account 2014-07-08 06:55:39 -07:00 committed by Gerrit - the friendly Code Review server
commit 281f24e4d1
1 changed files with 3 additions and 2 deletions

View File

@ -198,7 +198,7 @@ ppp_asynctty_open(struct tty_struct *tty)
goto out_free;
tty->disc_data = ap;
tty->receive_room = 65536;
tty->receive_room = 131072;
return 0;
out_free:
@ -356,7 +356,8 @@ 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);
if (tty->port && !tty->port->low_latency)
tty_unthrottle(tty);
}
static void