diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-03-28 19:39:33 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-28 19:39:33 -0400 |
commit | bdcde3d71a67e97f25e851f3ca97c9bb5ef03e7f (patch) | |
tree | eab4a66777582718ffe2eff9038324331106ec18 /net/ipv6/udp.c | |
parent | 60e7663d462af3994f292cb3691ea4f7371a9220 (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/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index aacbc82ecf0f..463ae4d448a3 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -999,8 +999,6 @@ void udp6_proc_exit(struct net *net) { | |||
999 | 999 | ||
1000 | /* ------------------------------------------------------------------------ */ | 1000 | /* ------------------------------------------------------------------------ */ |
1001 | 1001 | ||
1002 | DEFINE_PROTO_INUSE(udpv6) | ||
1003 | |||
1004 | struct proto udpv6_prot = { | 1002 | struct proto udpv6_prot = { |
1005 | .name = "UDPv6", | 1003 | .name = "UDPv6", |
1006 | .owner = THIS_MODULE, | 1004 | .owner = THIS_MODULE, |
@@ -1027,7 +1025,6 @@ struct proto udpv6_prot = { | |||
1027 | .compat_setsockopt = compat_udpv6_setsockopt, | 1025 | .compat_setsockopt = compat_udpv6_setsockopt, |
1028 | .compat_getsockopt = compat_udpv6_getsockopt, | 1026 | .compat_getsockopt = compat_udpv6_getsockopt, |
1029 | #endif | 1027 | #endif |
1030 | REF_PROTO_INUSE(udpv6) | ||
1031 | }; | 1028 | }; |
1032 | 1029 | ||
1033 | static struct inet_protosw udpv6_protosw = { | 1030 | static struct inet_protosw udpv6_protosw = { |