Skip to contentSkip to conversation

ppp_async hang fix

PATCH In review [email protected] 1 participant 1 message Jun 2, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 4/17 ppp_async hang fix

From: <[email protected]>

Adapted from http://bugzilla.kernel.org/show_bug.cgi?id=6530

Reschedule the async Tx tasklet if the transmit queue was full.

---

 drivers/net/ppp_async.c |    2 ++
 1 file changed, 2 insertions(+)
drivers/net/ppp_async.c renamed from drivers/net/ppp_async.c~ppp_async-hang-fix +2 -0
diff -puN drivers/net/ppp_async.c~ppp_async-hang-fix 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);
 }
 
 /*

_