Re: Linux 2.2 - BSD/OS 4.1 ARP incompatibility

From: Andi Kleen (
Date: Mon Sep 04 2000 - 03:45:06 EST

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

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


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:17 EST