commit | ec9c780925c57588637e1dbd8650d294107311c0 | [log] [tgz] |
---|---|---|
author | Kirill Tkhai <ktkhai@virtuozzo.com> | Thu Mar 29 19:21:09 2018 +0300 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 29 13:47:54 2018 -0400 |
tree | 82ab9ffcb134c75ed82d5f8e86c86e6d76318f41 | |
parent | 350311aab4c0b2477f9cf3fb03cef2e4cd6c3b18 [diff] |
ovs: Remove rtnl_lock() from ovs_exit_net() Here we iterate for_each_net() and removes vport from alive net to the exiting net. ovs_net::dps are protected by ovs_mutex(), and the others, who change it (ovs_dp_cmd_new(), __dp_destroy()) also take it. The same with datapath::ports list. So, we remove rtnl_lock() here. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>