vhost: fix guest descriptor closed on reset owner message
authorTetsuya Mukawa <mukawa@igel.co.jp>
Tue, 24 Nov 2015 06:45:35 +0000 (15:45 +0900)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 24 Nov 2015 20:34:11 +0000 (21:34 +0100)
commite1f8f5557147fbc9e1e8b9098c93ed9cc08e42e2
tree9bf96c893fdecc080cf68d24747c6e010bf0abd7
parent28014f0754860f06e7504510496d7b7c9b235d88
vhost: fix guest descriptor closed on reset owner message

The patch fixes reset_owner message handling not to clear callfd,
because callfd will be valid while connection is established.

Signed-off-by: Tetsuya Mukawa <mukawa@igel.co.jp>
Acked-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_vhost/virtio-net.c