* [patch 1/6] ppp_async hang fix
@ 2006-06-25 8:47 akpm
2006-06-25 11:44 ` Paul Mackerras
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2006-06-25 8:47 UTC (permalink / raw)
To: davem; +Cc: netdev, akpm, xeb, paulus
From: <xeb@mail.ru>
Adapted from http://bugzilla.kernel.org/show_bug.cgi?id=6530
Reschedule the async Tx tasklet if the transmit queue was full.
Cc: Paul Mackerras <paulus@samba.org>
[akpm: submitted before, discussion petered off inconclusively]
Signed-off-by: Andrew Morton <akpm@osdl.org>
---
drivers/net/ppp_async.c | 2 ++
1 file changed, 2 insertions(+)
diff -puN drivers/net/ppp_async.c~ppp_async-hang-fix drivers/net/ppp_async.c
--- a/drivers/net/ppp_async.c~ppp_async-hang-fix
+++ a/drivers/net/ppp_async.c
@@ -516,6 +516,8 @@ static void ppp_async_process(unsigned l
/* try to push more stuff out */
if (test_bit(XMIT_WAKEUP, &ap->xmit_flags) && ppp_async_push(ap))
ppp_output_wakeup(&ap->chan);
+ else if (test_bit(XMIT_FULL, &ap->xmit_flags))
+ ppp_asynctty_wakeup(ap->tty);
}
/*
_
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-25 11:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-25 8:47 [patch 1/6] ppp_async hang fix akpm
2006-06-25 11:44 ` Paul Mackerras
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox