Re: [PATCH] sctp: Fix the link time qualifier of 'sctp_ctrlsock_exit()'

From: David Miller
Date: Thu Sep 12 2019 - 07:56:46 EST


From: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
Date: Wed, 11 Sep 2019 18:02:39 +0200

> The '.exit' functions from 'pernet_operations' structure should be marked
> as __net_exit, not __net_init.
>
> Fixes: 8e2d61e0aed2 ("sctp: fix race on protocol/netns initialization")
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>

Applied and queued up for -stable.