OpenAFS Master Repository branch, master, updated. 119c756d96c4a7f9e01e4ff6bb20156f1abf761b

Gerrit Code Review gerrit@openafs.org
Sun, 26 Jul 2009 18:00:40 -0700 (PDT)


The following commit has been merged in the master branch:
commit 119c756d96c4a7f9e01e4ff6bb20156f1abf761b
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>

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

-- 
OpenAFS Master Repository