proc: create /proc/net/netstat file in each net
authorPavel Emelyanov <xemul@openvz.org>
Fri, 18 Jul 2008 11:05:17 +0000 (04:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jul 2008 11:05:17 +0000 (04:05 -0700)
commit7b7a9dfdf6ccda647f54ea5fa3bd0ac17a189eeb
tree92ab52ffab8bfdc1f3697ff8d02c12a06a43d76c
parentd89cbbb1e69a3bfea38038fb058bd51013902ef3
proc: create /proc/net/netstat file in each net

Now all the shown in it statistics is netnsizated, time to
show it in appropriate net.

The appropriate net init/exit ops already exist - they make
the sockstat file per net - so just extend them.

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