From f0b1d7ccbbc4056338dde92c8b131ad2070351ad Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Mon, 25 Jan 2010 16:02:23 -0500 Subject: [PATCH] rx avoid discarding packets while tq is busy we don't check here that no one else is working the tq *after* getting the lock. do so. Change-Id: I91d1ac020334b038a6a045734911335299613875 Reviewed-on: http://gerrit.openafs.org/1159 Reviewed-by: Jeffrey Altman Tested-by: Derrick Brashear Tested-by: Jeffrey Altman Reviewed-by: Derrick Brashear --- src/rx/rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rx/rx.c b/src/rx/rx.c index afb3184..ec342d8 100755 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -2219,6 +2219,7 @@ rxi_NewCall(struct rx_connection *conn, int channel) CLEAR_CALL_QUEUE_LOCK(call); #ifdef AFS_GLOBAL_RXLOCK_KERNEL /* Now, if TQ wasn't cleared earlier, do it now. */ + rxi_WaitforTQBusy(call); if (call->flags & RX_CALL_TQ_CLEARME) { rxi_ClearTransmitQueue(call, 1); /*queue_Init(&call->tq);*/ -- 1.9.4