vio: Don't request csum offload if not negotiated
authorsf <sf@openbsd.org>
Fri, 26 Jul 2024 06:29:01 +0000 (06:29 +0000)
committersf <sf@openbsd.org>
Fri, 26 Jul 2024 06:29:01 +0000 (06:29 +0000)
commit2175e0d6ddd57e1fbfe4eaa5bc2282b4b4b632db
tree51ea0a60710022b543a70576196303cca88d6832
parent16d24e0f6e33d4f01742bbf74405081a6bccd5cc
vio: Don't request csum offload if not negotiated

The standard says "A driver MUST NOT enable an offload for which the
appropriate feature has not been negotiated."

ok jan@
sys/dev/pv/if_vio.c