From: Derrick Brashear Date: Wed, 2 Jun 2004 07:08:01 +0000 (+0000) Subject: attachserverproc-dont-dequeue-if-not-in-queue-20040602 X-Git-Tag: openafs-devel-1_3_65~83 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=5d9fcb30347e97471e5604828ef433683ca7a766;p=packages%2Fo%2Fopenafs.git attachserverproc-dont-dequeue-if-not-in-queue-20040602 FIXES 4699 can't see what else this can be. pile of details in the ticket. --- diff --git a/src/rx/rx.c b/src/rx/rx.c index 4155fe6d5..11b7e5d2c 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -3993,7 +3993,8 @@ rxi_AttachServerProc(register struct rx_call *call, MUTEX_ENTER(&rx_stats_mutex); rx_nWaiting--; MUTEX_EXIT(&rx_stats_mutex); - queue_Remove(call); + if (queue_IsOnQueue(call)) + queue_Remove(call); } call->state = RX_STATE_ACTIVE; call->mode = RX_MODE_RECEIVING;