diff options
Diffstat (limited to 'net/ipv6/udp.c')
-rw-r--r-- | net/ipv6/udp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c index 8344d8c87219..ee1cc3f8599f 100644 --- a/net/ipv6/udp.c +++ b/net/ipv6/udp.c | |||
@@ -970,6 +970,8 @@ void udp6_proc_exit(void) { | |||
970 | 970 | ||
971 | /* ------------------------------------------------------------------------ */ | 971 | /* ------------------------------------------------------------------------ */ |
972 | 972 | ||
973 | DEFINE_PROTO_INUSE(udpv6) | ||
974 | |||
973 | struct proto udpv6_prot = { | 975 | struct proto udpv6_prot = { |
974 | .name = "UDPv6", | 976 | .name = "UDPv6", |
975 | .owner = THIS_MODULE, | 977 | .owner = THIS_MODULE, |
@@ -991,6 +993,7 @@ struct proto udpv6_prot = { | |||
991 | .compat_setsockopt = compat_udpv6_setsockopt, | 993 | .compat_setsockopt = compat_udpv6_setsockopt, |
992 | .compat_getsockopt = compat_udpv6_getsockopt, | 994 | .compat_getsockopt = compat_udpv6_getsockopt, |
993 | #endif | 995 | #endif |
996 | REF_PROTO_INUSE(udpv6) | ||
994 | }; | 997 | }; |
995 | 998 | ||
996 | static struct inet_protosw udpv6_protosw = { | 999 | static struct inet_protosw udpv6_protosw = { |