freebsd-dev/sys/dev/virtio/network
Michael Tuexen 132ea9f2ad Remove non-functional SCTP checksum offload support for virtio.
Checksum offloading for SCTP is not currently specified for virtio.
If the hypervisor announces checksum offloading support, it means TCP
and UDP checksum offload. If an SCTP packet is sent and the host announced
checksum offload support, the hypervisor inserts the IP checksum (16-bit)
at the correct offset, but this is not the right checksum, which is a CRC32c.
This results in all outgoing packets having the wrong checksum and therefore
breaking SCTP based communications.

This patch removes SCTP checksum offloading support from the virtio
network interface.

Thanks to Felix Weinrank for making me aware of the issue.

Reviewed by:		bryanv@
MFC after:		1 week
Differential Revision:	https://reviews.freebsd.org/D20147
2019-05-07 20:28:12 +00:00
..
if_vtnet.c Remove non-functional SCTP checksum offload support for virtio. 2019-05-07 20:28:12 +00:00
if_vtnetvar.h Remove non-functional SCTP checksum offload support for virtio. 2019-05-07 20:28:12 +00:00
virtio_net.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00