]> 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|account-1000005@unknown>
Thu, 17 Dec 2009 06:39:04 +0000 (22:39 -0800)
commitdfee0a5879b6a4f82f5a230261c98986bf013573
tree267ed9db7a16183c360b939a1f1b5b13cb98610a
parente22930cfce32d0bc245e0c1931308747054a609b
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>
(cherry picked from commit 1ddc7fa920213f9b5455e632bbddf05b866af647)
Change-Id: I1c5bdf8f3216f82f32fcf22f1c47a3a43130e071
Reviewed-on: http://gerrit.openafs.org/945
src/rx/rx_packet.c