OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. 5b1c5e3d720063b95b5d57fb02261ff9a2ff9673

Gerrit Code Review gerrit@openafs.org
Wed, 16 Dec 2009 22:38:55 -0800 (PST)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 5b1c5e3d720063b95b5d57fb02261ff9a2ff9673
Author: Adam Megacz <megacz@hcoop.net>
Date:   Sun Jul 19 11:00:41 2009 -0700

    Use -errno or WSAGetLastError() as return value from rxi_Sendmsg()
    
    This patch causes the pthread and lwp implementations of rxi_Sendmsg()
    to use -errno or WSAGetLastError() as the return value if it is
    positive.  This is required in order to communicate more meaningful
    error conditions to rxi_SendPacket[List], which should "down" a host
    immediately when it observes ENETUNREACH.
    
    Jeff Altman <jaltman@openafs.org> supplied the logic for the
    AFS_NT40_ENV case; I was not able to test this (I do not own a
    Windows license) and took him on his word.
    
    Reviewed-on: http://gerrit.openafs.org/58
    Tested-by: Derrick Brashear <shadow@dementia.org>
    Reviewed-by: Adam Megacz <megacz@gmail.com>
    Tested-by: Adam Megacz <megacz@gmail.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 119c756d96c4a7f9e01e4ff6bb20156f1abf761b)
    Change-Id: I31f97e4cef4b32abb69c783d19b1adfd897889fa
    Reviewed-on: http://gerrit.openafs.org/943

 src/rx/rx_lwp.c     |    7 +++++++
 src/rx/rx_pthread.c |    7 +++++++
 2 files changed, 14 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository