diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/vhost-vdpa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/vhost-vdpa.c b/net/vhost-vdpa.c index e370ecb..6811089 100644 --- a/net/vhost-vdpa.c +++ b/net/vhost-vdpa.c @@ -210,7 +210,7 @@ static bool vhost_vdpa_check_peer_type(NetClientState *nc, ObjectClass *oc, static ssize_t vhost_vdpa_receive(NetClientState *nc, const uint8_t *buf, size_t size) { - return 0; + return size; } static NetClientInfo net_vhost_vdpa_info = { |