From: Denis V. Lunev Date: Tue, 20 Nov 2007 06:28:35 +0000 (-0800) Subject: [NET]: Make AF_PACKET handle multiple network namespaces X-Git-Tag: v2.6.25-rc1~1162^2~1390 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12d01d6b4d197115c4d7736172b5b1ec8b1eb71;p=pandora-kernel.git [NET]: Make AF_PACKET handle multiple network namespaces 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed