HomeFreeBSD

udplite: fix checksum computation on the sender side

Description

udplite: fix checksum computation on the sender side

Don't fill the fields of the UDP/IP header not used for the
checksum computation before performing the checksum computation.

Reviewed by: glebius
Differential Revision: https://reviews.freebsd.org/D42275

(cherry picked from commit aa64a8f5c35c13b1c325f1a4597c987a37bec5da)

Details

Provenance
tuexenAuthored on Nov 1 2023, 9:24 AM
Reviewer
glebius
Differential Revision
D42275: udplite: fix checksum computation on the sender side
Parents
rGc85e01d0bfdd: ffs/ffs_rawread.c: clean up includes
Branches
Unknown
Tags
Unknown