Merge "net: ppp: ppp_async: Fix data stall issue over low latency tty port."
This commit is contained in:
commit
281f24e4d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue