aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ipv6.c')
-rw-r--r--net/dccp/ipv6.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv6.c b/net/dccp/ipv6.c
index 44e8b3323170..c5d9d1be56f3 100644
--- a/net/dccp/ipv6.c
+++ b/net/dccp/ipv6.c
@@ -1202,6 +1202,7 @@ out_unregister_proto:
1202 1202
1203static void __exit dccp_v6_exit(void) 1203static void __exit dccp_v6_exit(void)
1204{ 1204{
1205 sock_release(dccp_v6_ctl_sk->sk_socket);
1205 inet6_del_protocol(&dccp_v6_protocol, IPPROTO_DCCP); 1206 inet6_del_protocol(&dccp_v6_protocol, IPPROTO_DCCP);
1206 inet6_unregister_protosw(&dccp_v6_protosw); 1207 inet6_unregister_protosw(&dccp_v6_protosw);
1207 proto_unregister(&dccp_v6_prot); 1208 proto_unregister(&dccp_v6_prot);