diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c index d97b2b4b7a8bf6eb8396f06c48e34af1a0cc4c05..6d36f74ad29502612695fd099ca4fe08302069ef 100644 --- a/net/sctp/protocol.c +++ b/net/sctp/protocol.c @@ -1350,7 +1350,7 @@ static int __net_init sctp_ctrlsock_init(struct net *net) return status; } -static void __net_init sctp_ctrlsock_exit(struct net *net) +static void __net_exit sctp_ctrlsock_exit(struct net *net) { /* Free the control endpoint. */ inet_ctl_sock_destroy(net->sctp.ctl_sock);