aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r--net/dccp/ccids/ccid3.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index edf9740d8d82..09274f32a337 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -2078,6 +2078,15 @@ module_init(ccid3_module_init);
2078 2078
2079static __exit void ccid3_module_exit(void) 2079static __exit void ccid3_module_exit(void)
2080{ 2080{
2081#ifdef CONFIG_IP_DCCP_UNLOAD_HACK
2082 /*
2083 * Hack to use while developing, so that we get rid of the control
2084 * sock, that is what keeps a refcount on dccp.ko -acme
2085 */
2086 extern void dccp_ctl_sock_exit(void);
2087
2088 dccp_ctl_sock_exit();
2089#endif
2081 ccid_unregister(&ccid3); 2090 ccid_unregister(&ccid3);
2082 2091
2083 if (ccid3_tx_hist != NULL) { 2092 if (ccid3_tx_hist != NULL) {