]> git.baikalelectronics.ru Git - kernel.git/commit
vhost/test: fix build for vhost test
authorTiwei Bie <tiwei.bie@intel.com>
Wed, 28 Aug 2019 05:36:59 +0000 (13:36 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 4 Sep 2019 10:21:17 +0000 (06:21 -0400)
commitaccb2a158e4041970ef1998eea3c806a1801fe2f
treec0d85c6e1b609d003295639b9a96e598da5dae82
parent8a9d99520c17c557e8eba8e3fb857089f0033021
vhost/test: fix build for vhost test

Since below commit, callers need to specify the iov_limit in
vhost_dev_init() explicitly.

Fixes: 5e303d5e1b1e ("vhost: fix OOB in get_rx_bufs()")
Cc: stable@vger.kernel.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
drivers/vhost/test.c