1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

remove typo

This commit is contained in:
Stefan Lankes 2017-06-05 12:07:38 +02:00
parent 1fc09b4246
commit 54c3724087

View file

@ -104,7 +104,7 @@ static err_t vioif_output(struct netif* netif, struct pbuf* p)
memset(hdr, 0x00, sizeof(*hdr));
// NOTE: packet is fully checksummed => flag is set to zero
//hdr->flags = VIRTIO_NET_HDR_F_NEEDS_CSUM;
//hdr->checksum_offset = p->tot_len;
//hdr->csum_offset = p->tot_len;
vq->vring.desc[buffer_index].addr = vq->phys_buffer + buffer_index * VIOIF_BUFFER_SIZE;
vq->vring.desc[buffer_index].len = p->tot_len;