From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 6 Sep 2001 16:30:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 6 Sep 2001 16:30:48 -0400 Received: from ns.suse.de ([213.95.15.193]:44556 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Thu, 6 Sep 2001 16:30:44 -0400 Date: Thu, 6 Sep 2001 22:31:03 +0200 From: Andi Kleen To: Alan Cox Cc: Matthias Andree , Wietse Venema , Andrey Savochkin , Matthias Andree , Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: notion of a local address [was: Re: ioctl SIOCGIFNETMASK: ip alias Message-ID: <20010906223103.A13300@gruyere.muc.suse.de> In-Reply-To: <20010906221152.F13547@emma1.emma.line.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alan@lxorguk.ukuu.org.uk on Thu, Sep 06, 2001 at 09:23:43PM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 06, 2001 at 09:23:43PM +0100, Alan Cox wrote: > > Alan, SIOCGIFCONF is working sufficiently, it's SIOCGIFNETMASK that > > we're talking about. SIOCGIFNETMASK works properly on any other system > > or - as far as I can currently test - with my patch. > > Then that is worth looking into. First it would break lots of linux user land (which doesn't initialise sin_addr in SIOCGIFNETMASK) and special casing for "local networks" is in any case bogus. Netmask checking is only needed for that; it's not even needed for local address checking. -Andi