Re: [PATCH 2.6.25 4/6] net: Make AF_PACKET handle multiple network namespaces

2007-11-19 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> 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. > > Chang

[PATCH 2.6.25 4/6] net: Make AF_PACKET handle multiple network namespaces

2007-11-15 Thread Denis V. Lunev
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: Den