Vhost: Add thread sync while receiving vhost message 40/3740/1 stable/1609
authorPierre Pfister <ppfister@cisco.com>
Wed, 9 Nov 2016 10:16:57 +0000 (10:16 +0000)
committerPierre Pfister <ppfister@cisco.com>
Wed, 9 Nov 2016 10:16:57 +0000 (10:16 +0000)
commit22665d23e1ec4d5de10f610441d98d593a89b20a
tree4ee0c68154c5a9ab8c85de78cbb95894fc1f1757
parentd1f3123795162370885d5920c402f76f64e05891
Vhost: Add thread sync while receiving vhost message

It is important to stop the working threads while
some operations are performed on the working threads.

This is a backport of a fix brought in commit e21c52861d.
This should solve Jira ticket VPP526

Change-Id: I6deb27f5de44f0f19401161ee6adecaba86dae1a
Signed-off-by: Pierre Pfister <ppfister@cisco.com>
vnet/vnet/devices/virtio/vhost-user.c