On Tue, Mar 13, 2018 at 01:37:02PM +0300, Kirill Tkhai wrote:
> These pernet_operations create and destroy net::sctp::ctl_sock.
> Since pernet_operations do not send sctp packets each other,
> they look safe to be marked as async.
>
> Signed-off-by: Kirill Tkhai <ktk...@virtuozzo.com>
> ---
> net/sctp/protocol.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
> index 32be52304f98..606361ee9e4a 100644
> --- a/net/sctp/protocol.c
> +++ b/net/sctp/protocol.c
> @@ -1354,6 +1354,7 @@ static void __net_init sctp_ctrlsock_exit(struct net
> *net)
> static struct pernet_operations sctp_ctrlsock_ops = {
> .init = sctp_ctrlsock_init,
> .exit = sctp_ctrlsock_exit,
> + .async = true,
> };
>
> /* Initialize the universe into something sensible. */
>
>
Acked-by: Neil Horman <nhor...@tuxdriver.com>