vhost/crypto: fix missing head correction
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 27 Apr 2018 13:52:33 +0000 (14:52 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 27 Apr 2018 17:49:07 +0000 (19:49 +0200)
commitd4cc4c65dfb46d4262479daecbf5d3281dc68e6a
tree56669887c47edcf6e955aaa2a68a0646eedb69e7
parentdfdf4b84b8d03e08c5949fe81e85eb8ce5b2ee52
vhost/crypto: fix missing head correction

This patch fixes the missing head descriptor correction for
indirect descriptors.

Fixes: 0aee2428419f ("vhost/crypto: move to safe GPA translation API")

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/vhost_crypto.c