lkml.org 
[lkml]   [2000]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.2 - BSD/OS 4.1 ARP incompatibility
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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.072 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site