[PATCH v2] udp_vu: update segment size
In udp_vu_sock_recv(), collect a segment with a size defined to
IP_MAX_MTU + ETH_HLEN + sizeof(struct virtio_net_hdr_mrg_rxbuf)
The original version double counted the IP header: IP_MAX_MTU includes
the IP header, and so did hdrlen.
Signed-off-by: Laurent Vivier
On Thu, 5 Dec 2024 08:37:18 +0100
Laurent Vivier
In udp_vu_sock_recv(), collect a segment with a size defined to IP_MAX_MTU + ETH_HLEN + sizeof(struct virtio_net_hdr_mrg_rxbuf)
The original version double counted the IP header: IP_MAX_MTU includes the IP header, and so did hdrlen.
Signed-off-by: Laurent Vivier
Applied. -- Stefano
participants (2)
-
Laurent Vivier
-
Stefano Brivio