aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-03-28 19:39:33 -0400
committerDavid S. Miller <davem@davemloft.net>2008-03-28 19:39:33 -0400
commitbdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch)
treeeab4a66777582718ffe2eff9038324331106ec18 /net/ipv6/tcp_ipv6.c
parent60e7663d462af3994f292cb3691ea4f7371a9220 (diff)
[SOCK]: Drop inuse pcounter from struct proto (v2).
An uppercut - do not use the pcounter on struct proto. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Eric Dumazet <dada1@cosmosbay.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
-rw-r--r--net/ipv6/tcp_ipv6.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c
index 323c7e06ef4..6d851c3c3db 100644
--- a/net/ipv6/tcp_ipv6.c
+++ b/net/ipv6/tcp_ipv6.c
@@ -2140,8 +2140,6 @@ void tcp6_proc_exit(struct net *net)
2140} 2140}
2141#endif 2141#endif
2142 2142
2143DEFINE_PROTO_INUSE(tcpv6)
2144
2145struct proto tcpv6_prot = { 2143struct proto tcpv6_prot = {
2146 .name = "TCPv6", 2144 .name = "TCPv6",
2147 .owner = THIS_MODULE, 2145 .owner = THIS_MODULE,
@@ -2177,7 +2175,6 @@ struct proto tcpv6_prot = {
2177 .compat_setsockopt = compat_tcp_setsockopt, 2175 .compat_setsockopt = compat_tcp_setsockopt,
2178 .compat_getsockopt = compat_tcp_getsockopt, 2176 .compat_getsockopt = compat_tcp_getsockopt,
2179#endif 2177#endif
2180 REF_PROTO_INUSE(tcpv6)
2181}; 2178};
2182 2179
2183static struct inet6_protocol tcpv6_protocol = { 2180static struct inet6_protocol tcpv6_protocol = {