]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r347233:
authortuexen <tuexen@FreeBSD.org>
Thu, 16 May 2019 18:26:42 +0000 (18:26 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 16 May 2019 18:26:42 +0000 (18:26 +0000)
commitcc139b6d4550e4bf4b13a91ad89e0a7f6042d447
tree69b1fdb1ef7ce2eb9055d9a32cc6b4a2d022d8c4
parentc7c399e5e9eb4f4ba6d0ec552f8bcb4bd99c7ade
MFC r347233:

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.
sys/dev/virtio/network/if_vtnet.c
sys/dev/virtio/network/if_vtnetvar.h