Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752598AbaBRVnF (ORCPT ); Tue, 18 Feb 2014 16:43:05 -0500 Received: from mail-pb0-f41.google.com ([209.85.160.41]:54808 "EHLO mail-pb0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750991AbaBRVnC (ORCPT ); Tue, 18 Feb 2014 16:43:02 -0500 Date: Tue, 18 Feb 2014 13:42:57 -0800 From: Stephen Hemminger To: "Luis R. Rodriguez" Cc: Dan Williams , "netdev@vger.kernel.org" , xen-devel@lists.xenproject.org, kvm@vger.kernel.org, "linux-kernel@vger.kernel.org" , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy Subject: Re: [RFC v2 2/4] net: enables interface option to skip IP Message-ID: <20140218134257.667efe23@nehalam.linuxnetplumber.net> In-Reply-To: References: <1392433180-16052-1-git-send-email-mcgrof@do-not-panic.com> <1392433180-16052-3-git-send-email-mcgrof@do-not-panic.com> <1392668638.21106.5.camel@dcbw.local> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 18 Feb 2014 13:19:15 -0800 "Luis R. Rodriguez" wrote: > Sure, but note that the both disable_ipv6 and accept_dada sysctl > parameters are global. ipv4 and ipv6 interfaces are created upon > NETDEVICE_REGISTER, which will get triggered when a driver calls > register_netdev(). The goal of this patch was to enable an early > optimization for drivers that have no need ever for ipv4 or ipv6 > interfaces. The trick with ipv6 is to register the device, then have userspace do the ipv6 sysctl before bringing the device up. -- 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/