OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_15-97-g11d4bb0

Gerrit Code Review gerrit@openafs.org
Mon, 23 Jul 2012 14:29:43 -0700 (PDT)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 11d4bb0172e064c0fc2175a0cb473991faadd8c3
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Jul 22 20:40:41 2012 -0400

    rx: rxi_FindRpcStat must test for empty queue
    
    When queue_Scan is executed on an empty queue the queue element
    variable, in this case 'rpc_stat' is the queue head, _RXQ(q),
    and not NULL.  Callers of rxi_FindRpcStat() expect NULL on failure
    to find or create an rx_interface_stat object.  Correct the behavior
    by testing for an empty queue and return NULL immediately if the
    queue is empty and the caller is not requesting creation.
    
    Reviewed-on: http://gerrit.openafs.org/7835
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>
    (cherry picked from commit 1f0cf8b2b4bb6e36d8d82323a15ced72d91db0ec)
    
    Change-Id: I71ad98b943e08804aa15672cdf428a501871923b
    Reviewed-on: http://gerrit.openafs.org/7844
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com>

 src/rx/rx.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository