From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Emelyanov Subject: Re: [RFC PATCH net-2.6.26] [NET] NETNS: Omit net_device->nd_net without CONFIG_NET_NS. Date: Tue, 25 Mar 2008 18:45:45 +0300 Message-ID: <47E91E29.2080002@openvz.org> References: <20080325.231442.15922868.yoshfuji@linux-ipv6.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: davem@davemloft.net, netdev@vger.kernel.org To: =?UTF-8?B?WU9TSElGVUpJIEhpZGVha2kgLyDlkInol6Toi7HmmI4=?= Return-path: Received: from sacred.ru ([62.205.161.221]:35978 "EHLO sacred.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755126AbYCYPqJ (ORCPT ); Tue, 25 Mar 2008 11:46:09 -0400 In-Reply-To: <20080325.231442.15922868.yoshfuji@linux-ipv6.org> Sender: netdev-owner@vger.kernel.org List-ID: YOSHIFUJI Hideaki / =E5=90=89=E8=97=A4=E8=8B=B1=E6=98=8E wrote: > Introduce per-net_device inlines: dev_net(), dev_net_set(). > Without CONFIG_NET_NS, no namespace other than &init_net exists. > Let's explicitly define them to help compiler optimizations. >=20 > Signed-off-by: YOSHIFUJI Hideaki Acked-by: Pavel Emelyanov