diff options
author | Damjan Marion <damarion@cisco.com> | 2014-09-11 14:55:48 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-09-18 21:51:24 +0300 |
commit | d8e80ae37a7acfea416ad9abbe76b453a73d9cc0 (patch) | |
tree | 242808ff8401bce41c318c544b72738cd2b0d159 /hw/net/virtio-net.c | |
parent | e43c0b2ea5574efb0bedebf6a7d05916eefeba52 (diff) |
vhost-user: fix VIRTIO_NET_F_MRG_RXBUF negotiation
Header length check should happen only if backend is kernel. For user
backend there is no reason to reset this bit.
vhost-user code does not define .has_vnet_hdr_len so
VIRTIO_NET_F_MRG_RXBUF cannot be negotiated even if both sides
support it.
Signed-off-by: Damjan Marion <damarion@cisco.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions