OSDN Git Service

net: Convert sctp_defaults_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Tue, 13 Mar 2018 10:36:51 +0000 (13:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2018 15:24:56 +0000 (11:24 -0400)
commit2e01ae0ef2db96c530249563383f479f8d9ca183
treeade320cd488a49170a14f2ec0067a29e1a974a95
parentd98985dd6c2dc69e2ad5f5482a5237fb9487ed99
net: Convert sctp_defaults_ops

These pernet_operations have a deal with sysctl, /proc
entries and statistics. Also, there are freeing of
net::sctp::addr_waitq queue and net::sctp::local_addr_list
in exit method. All of them look pernet-divided, and it
seems these items are only interesting for sctp_defaults_ops,
which are safe to be executed in parallel.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/protocol.c