mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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 <jaltman@openafs.org> Tested-by: Derrick Brashear <shadow@dementia.org> Tested-by: Jeffrey Altman <jaltman@openafs.org> Reviewed-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
parent
14e050033f
commit
f0b1d7ccbb
@ -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);*/
|
||||
|
Loading…
Reference in New Issue
Block a user