Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262249AbTHTV4y (ORCPT ); Wed, 20 Aug 2003 17:56:54 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262257AbTHTV4y (ORCPT ); Wed, 20 Aug 2003 17:56:54 -0400 Received: from pizda.ninka.net ([216.101.162.242]:46749 "EHLO pizda.ninka.net") by vger.kernel.org with ESMTP id S262249AbTHTV4y (ORCPT ); Wed, 20 Aug 2003 17:56:54 -0400 Date: Wed, 20 Aug 2003 14:47:11 -0700 From: "David S. Miller" To: Willy Tarreau Cc: linux-kernel@vger.kernel.org, netdev@oss.sgi.com Subject: Re: [RFC][2.4 PATCH] source address selection for ARP requests Message-Id: <20030820144711.13ea5f38.davem@redhat.com> In-Reply-To: <20030820213443.GA23939@alpha.home.local> References: <1061320363.3744.14.camel@athena.fprintf.net> <20030820100044.3127d612.davem@redhat.com> <3F43B389.5060602@candelatech.com> <20030820104831.6235f3b9.davem@redhat.com> <20030820213443.GA23939@alpha.home.local> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.6; sparc-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 483 Lines: 14 On Wed, 20 Aug 2003 23:34:43 +0200 Willy Tarreau wrote: > + if (in_dev == NULL) > + return; A NULL in_dev is what you'll see if no addresses are assigned to the interface, therefore you must treat this case similarly. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/