On Mon, Sep 04, 2000 at 10:22:42AM +0800, Andrey Savochkin wrote:
> Andi, there may be two reasons of this behavior:
> 1. skb that triggered ARP request had a.b.c.1 source, either because
>    a) the socket had been bound to that address, or
>    b) preferred source in the routing table is wrong;
> 2. the request source address was selected basing on interface address list,
>    and produced a wrong result.
> I would say that 1b case is the least likely for me.
> If the reason of this behavior is 1a or 2, it's a kernel bug in my opinion.

The prefered source address is usually 0 in the fib.

The problem is likely that ip_route_output_slow() does never passes in the
daddr into inet_select_addr(), so it does not even have the necessary 
information.

I'm not sure if it is worth fixing though.

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to