diff options
author | Tiwei Bie <tiwei.bie@intel.com> | 2019-08-28 13:37:00 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-09-16 08:21:40 +0200 |
commit | 6e7040d65a718cd1cb0d4c914f3ff1d7735eb844 (patch) | |
tree | 4175b98752a12c66d6f5c885d39ac7e2820aad01 /arch/powerpc/kernel | |
parent | 4f45483faadf13e7ad700b89453aee9ffb4ad69b (diff) | |
download | linux-stable-6e7040d65a718cd1cb0d4c914f3ff1d7735eb844.tar.gz linux-stable-6e7040d65a718cd1cb0d4c914f3ff1d7735eb844.tar.bz2 linux-stable-6e7040d65a718cd1cb0d4c914f3ff1d7735eb844.zip |
vhost/test: fix build for vhost test - again
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()")
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions