commit | ec716650a750334cd763024597159eea3569e207 | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Thu Mar 15 12:11:16 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Sat Mar 17 17:07:39 2018 -0400 |
tree | 30ab55658fb54ad3ad3f606836edf90bdb673cbf | |
parent | 8cec2f49dc413d6328067d22862b0bdd0f4305ec [diff] |
net: Convert ovs_net_ops These pernet_operations initialize and destroy net_generic() data pointed by ovs_net_id. Exit method destroys vports from alive net to exiting net. Since they are only pernet_operations interested in this data, and exit method is executed under exclusive global lock (ovs_mutex), they are safe to be executed in parallel. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>