vhost_net: introduce vhost_exceeds_weight()

commit 272f35cba5 upstream.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[bwh: Backported to 3.16: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Jason Wang 2018-07-20 08:15:15 +08:00 • committed by Ben Hutchings
commit e22aecb0e5