vhost_net: introduce vhost_exceeds_weight()
commit6214511f226c684d0da4a6cd1f24175d255ff061
authorJason Wang <jasowang@redhat.com>
Fri, 16 Aug 2019 23:00:36 +0000 (17 00:00 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:51:41 +0000 (25 10:51 +0200)
treeb44fc1bdb0adc0f60647ff0955d96be9437bcb90
parent73f768b7684cf2e3ff99e74bc99c9ff253aa979f
vhost_net: introduce vhost_exceeds_weight()

commit 272f35cba53d088085e5952fd81d7a133ab90789 upstream.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 4.9: adjust context]
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/vhost/net.c