"Michael S. Tsirkin" writes:
> Now that we know host hdr length, we don't need to
> duplicate the logic in receive_hdr: caller can
> figure out the offset itself.
>
> Signed-off-by: Michael S. Tsirkin
Reviewed-by: Anthony Liguori
Regards,
Anthony Liguori
> ---
> hw/virtio-net.c | 18 ++
Now that we know host hdr length, we don't need to
duplicate the logic in receive_hdr: caller can
figure out the offset itself.
Signed-off-by: Michael S. Tsirkin
---
hw/virtio-net.c | 18 +++---
1 file changed, 7 insertions(+), 11 deletions(-)
diff --git a/hw/virtio-net.c b/hw/virti