[OpenAFS-devel] Re: code to "down" unreachable hosts in src/rx/rx_packet.c is unreachable?

Adam Megacz megacz@hcoop.net
Sat, 11 Jul 2009 17:21:23 -0700


"Derrick Brashear" <shadow@gmail.com> writes:
>> The variable "code" is the return value from osi_NetSend() on line
>> 2421, a function which simply relays the return value of
>> rxi_Sendmsg().  Both the lwp and pthread implementations of
>> rxi_Sendmsg() appear to return only 0 or -1, never an error code.
>
> And the kernel implementation, which is neither lwp or pthread,
> returns the result (on Linux) of sock_sendmsg...
>
> It's very much the intended situation. The code paths tested are
> implemented. If you can implement and test more, we'd review them for
> inclusion.

Thanks, I finally got around to implementing this now that I no longer
have the painfulness of dealing with CVS to help me procrastinate.
I'll post it to gerrit shortly.

  - a