[NETNS]: Minor information leak via /proc/net/ptype file.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 24 Mar 2008 21:57:45 +0000 (14:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Mar 2008 21:57:45 +0000 (14:57 -0700)
commit2feb27dbe00cbb4f7d31f90acf6bd0d751dd0a50
tree0d0a38668b02e18d487d15eba730721e21bba353
parent84c375af0ff61e0bd15fac0aed0438640494483e
[NETNS]: Minor information leak via /proc/net/ptype file.

This file displays the registered packet types, but some of them
(packet sockets creates such) can be bound to a net device and showing
them in a wrong namespace is not correct.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c