From: David Miller Subject: Re: [PATCH 2.6.25 4/6] net: Make AF_PACKET handle multiple network namespaces Date: Mon, 19 Nov 2007 22:33:50 -0800 (PST) Message-ID: <20071119.223350.241597054.davem@davemloft.net> References: <20071115155954.GA25475@iris.sw.ru> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20071115155954.GA25475@iris.sw.ru> Sender: netdev-owner@vger.kernel.org To: den@openvz.org Cc: containers@lists.osdl.org, netdev@vger.kernel.org, ebiederm@xmission.com, dlezcano@fr.ibm.com List-Id: containers.vger.kernel.org From: "Denis V. Lunev" Date: Thu, 15 Nov 2007 18:59:54 +0300 > This is done by making packet_sklist_lock and packet_sklist per > network namespace and adding an additional filter condition on > received packets to ensure they came from the proper network > namespace. > > Changes from v1: > - prohibit to call inet_dgram_ops.ioctl in other than init_net > > Signed-off-by: Denis V. Lunev > Signed-off-by: Eric W. Biederman Applied.