]> git.michaelhowe.org Git - packages/o/openafs.git/commit
In rxi_SendPacket[List], down hosts if ENETUNREACH or equivalent
authorAdam Megacz <megacz@hcoop.net>
Mon, 27 Jul 2009 03:32:07 +0000 (20:32 -0700)
committerDerrick Brashear <shadow@dementia.org>
Mon, 27 Jul 2009 15:39:01 +0000 (08:39 -0700)
commit1ddc7fa920213f9b5455e632bbddf05b866af647
tree6c2cb6329e0790b9b7b0f0c149e447eddb95dcd1
parentd82e9c851c4d8ad765a0a81b9d5f290d184b7b07
In rxi_SendPacket[List], down hosts if ENETUNREACH or equivalent

This patch causes rxi_SendPacket[List] to "down" a host if
rxi_Sendmsg() returns -ENETUNREACH (or equivalent).  Previous behavior
only did this check if defined(KERNEL) becauase non-defined(KERNEL)
implementations did not return meaningful error codes from
rxi_Sendmsg().

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/59
Reviewed-by: Adam Megacz <megacz@gmail.com>
Tested-by: Adam Megacz <megacz@gmail.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx_packet.c