rx: better rxi_FindRpcStat check for end of queue
authorJeffrey Altman <jaltman@your-file-system.com>
Thu, 26 Jul 2012 22:35:48 +0000 (18:35 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Fri, 27 Jul 2012 13:35:43 +0000 (06:35 -0700)
commit300dd717fa57df77175807cf7cf6be36cb1f9fef
treeabf135393b6b7c39c2ab4644db46473066568b4c
parentee2b9c2d3ee22dfbc8fd2eb2cc470ae853d4e19a
rx: better rxi_FindRpcStat check for end of queue

patchset 1f0cf8b2b4bb6e36d8d82323a15ced72d91db0ec tested for
an empty queue but what is really required is a test for end of
queue after the queue_Scan().  If the queue_Scan() completes
at the end of the queue, in other words, pointing at the list
head, then return NULL because no match was found.

Change-Id: I444531d3cfa85b4691eaa8960da0266de82a03a3
Reviewed-on: http://gerrit.openafs.org/7886
Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
src/rx/rx.c