aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ipv4.c')
-rw-r--r--net/dccp/ipv4.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/dccp/ipv4.c b/net/dccp/ipv4.c
index f97049bf22c0..6d8f684a7a49 100644
--- a/net/dccp/ipv4.c
+++ b/net/dccp/ipv4.c
@@ -1020,6 +1020,7 @@ out_proto_unregister:
1020 1020
1021static void __exit dccp_v4_exit(void) 1021static void __exit dccp_v4_exit(void)
1022{ 1022{
1023 sock_release(dccp_v4_ctl_sk->sk_socket);
1023 inet_unregister_protosw(&dccp_v4_protosw); 1024 inet_unregister_protosw(&dccp_v4_protosw);
1024 inet_del_protocol(&dccp_v4_protocol, IPPROTO_DCCP); 1025 inet_del_protocol(&dccp_v4_protocol, IPPROTO_DCCP);
1025 proto_unregister(&dccp_v4_prot); 1026 proto_unregister(&dccp_v4_prot);