From: Denis V. Lunev Date: Tue, 7 Oct 2008 21:47:12 +0000 (-0700) Subject: ipv6: separate seq_ops for global & per/device ipv6 statistics X-Git-Tag: v2.6.28-rc1~717^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b43ccecc77480353a5657d993d671cae9e94efd;p=pandora-kernel.git ipv6: separate seq_ops for global & per/device ipv6 statistics idev has been stored on seq->private. NULL has been stored for global statistics. The situation is changed with net namespace. We need to store pointer to struct net and the only place is seq->private. So, we'll have for /proc/net/dev_snmp6/* and for /proc/net/snmp6 pointers of two different types stored in the same field. This effectively requires to separate seq_ops of these files. Signed-off-by: Denis V. Lunev Signed-off-by: David S. Miller --- Reading git-diff-tree failed