]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv6/tcp_ipv6.c
[IPV6]: Use the {DEFINE|REF}_PROTO_INUSE infrastructure
[linux-2.6-omap-h63xx.git] / net / ipv6 / tcp_ipv6.c
index 06be2a1f27303d761b63aa0ce5c30da3c253eb65..3aad861975a0a084d4ec952e2c1082d87cff7ba3 100644 (file)
@@ -2107,6 +2107,8 @@ void tcp6_proc_exit(void)
 }
 #endif
 
+DEFINE_PROTO_INUSE(tcpv6)
+
 struct proto tcpv6_prot = {
        .name                   = "TCPv6",
        .owner                  = THIS_MODULE,
@@ -2141,6 +2143,7 @@ struct proto tcpv6_prot = {
        .compat_setsockopt      = compat_tcp_setsockopt,
        .compat_getsockopt      = compat_tcp_getsockopt,
 #endif
+       REF_PROTO_INUSE(tcpv6)
 };
 
 static struct inet6_protocol tcpv6_protocol = {