summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTiwei Bie <tiwei.bie@intel.com>2019-08-28 13:37:00 +0800
committerBen Hutchings <ben@decadent.org.uk>2019-11-22 15:57:26 +0000
commit7ddf32d19160f2db4909077e378edcb1b006bd23 (patch)
treecb0b6a960b3270cffd1ba170c4af84a650043030 /net
parent734653b4bf8cdd9d3885093692c36134bc5e1e4f (diff)
downloadlinux-stable-7ddf32d19160f2db4909077e378edcb1b006bd23.tar.gz
linux-stable-7ddf32d19160f2db4909077e378edcb1b006bd23.tar.bz2
linux-stable-7ddf32d19160f2db4909077e378edcb1b006bd23.zip
vhost/test: fix build for vhost test
commit 264b563b8675771834419057cbe076c1a41fb666 upstream. Since vhost_exceeds_weight() was introduced, callers need to specify the packet weight and byte weight in vhost_dev_init(). Note that, the packet weight isn't counted in this patch to keep the original behavior unchanged. Fixes: e82b9b0727ff ("vhost: introduce vhost_exceeds_weight()") 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> [bwh: Backported to 3.16: vhost_dev_init() still doesn't take an iov_limit parameter.] Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions