Re: [2.4 PATCH] bugfix: ARP respond on all devices

From: David S. Miller
Date: Wed Aug 20 2003 - 11:03:18 EST


On Wed, 20 Aug 2003 17:41:33 +0200
Stephan von Krawczynski <skraw@xxxxxxxxxx> wrote:

> Aehm, sorry but the logic is bogus. A routed packet will be sent out this
> interface with a foreign IP as source, too.

I'm talking about "local" addresses.

When we're routing, we'll use an interface address of
course.

But when the packet is originating from our host, and
the source address in the outgoing packet is local to
us, we will use it as the source in the ARP packet.

Look at the algorithm in net/ipv4/arp_solicit() to see
what I mean.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/