[PATCH 5.4.y] virtio-net: ensure the received length does not exceed allocated size