ovs-lib: Try to call exit before killing.
authorIlya Maximets <i.maximets@samsung.com>
Wed, 16 Dec 2015 12:32:21 +0000 (15:32 +0300)
committerBen Pfaff <blp@ovn.org>
Wed, 16 Dec 2015 12:38:11 +0000 (04:38 -0800)
commit9b5422a98f817b9f2a1f8224cab7e1a8d0bbba1f
tree6b2a5f2ad19506a6dd46c5f1108c3d9212150290
parent1d7b2eceaeb059e42c1e1cd3d32c192e2ab22271
ovs-lib: Try to call exit before killing.

While killing OVS may not free all allocated resources.

Example:
Socket for vhost-user port will stay in a system
after 'systemctl stop openvswitch' and opening
that port after restart will fail.

Signed-off-by: Ilya Maximets <i.maximets@samsung.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
utilities/ovs-lib.in