On Wed, Sep 11, 2019 at 10:50:55AM +0800, Tiwei Bie wrote:
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@xxxxxxxxxxxxxxx Signed-off-by: Tiwei Bie <tiwei.bie@xxxxxxxxx> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx> Acked-by: Jason Wang <jasowang@xxxxxxxxxx>
I've queued it up for 4.14, 4.9, and 4.4. Thank you. -- Thanks, Sasha