aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-04-14 01:12:13 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-14 01:12:13 -0400
commit9427c4b36b8fe652df1d7c89eae678948e1f4b32 (patch)
treed2e018d9b09656e04e80ae3d3e88993e76753fbb /net/ipv6/tcp_ipv6.c
parent1abf4fb20d38cf58c92b27f4d6ad4fa92a3bb553 (diff)
[TCP]: Move seq_ops from tcp_iter_state to tcp_seq_afinfo.
No need to create seq_operations for each instance of 'netstat'. Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 80eab71e77ff..8bf59ee51cdb 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -2125,8 +2125,10 @@ static struct tcp_seq_afinfo tcp6_seq_afinfo = {
2125 .owner = THIS_MODULE, 2125 .owner = THIS_MODULE,
2126 .name = "tcp6", 2126 .name = "tcp6",
2127 .family = AF_INET6, 2127 .family = AF_INET6,
2128 .seq_show = tcp6_seq_show,
2129 .seq_fops = &tcp6_seq_fops, 2128 .seq_fops = &tcp6_seq_fops,
2129 .seq_ops = {
2130 .show = tcp6_seq_show,
2131 },
2130}; 2132};
2131 2133
2132int tcp6_proc_init(struct net *net) 2134int tcp6_proc_init(struct net *net)