diff options
author | Tiwei Bie <tiwei.bie@intel.com> | 2019-08-28 13:37:00 +0800 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2019-11-22 15:57:26 +0000 |
commit | 7ddf32d19160f2db4909077e378edcb1b006bd23 (patch) | |
tree | cb0b6a960b3270cffd1ba170c4af84a650043030 /net/sctp/outqueue.c | |
parent | 734653b4bf8cdd9d3885093692c36134bc5e1e4f (diff) | |
download | linux-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/sctp/outqueue.c')
0 files changed, 0 insertions, 0 deletions