HomeFreeBSD

Convert UDP length to host byte order

Description

Convert UDP length to host byte order

When getting the number of bytes to checksum make sure to convert the UDP
length to host byte order when the entire header is not in the first mbuf.

Reviewed by: jtl, tuexen, ae
Approved by: re (gjb), jtl (mentor)
Differential Revision: https://reviews.freebsd.org/D17357

Details

Provenance
thjAuthored on
Reviewer
jtl
Differential Revision
D17357: Convert UDP length to host byte order
Parents
rS339194: Remove the BUGS section of nscd(8) man page. According to bushman@'s
Branches
Unknown
Tags
Unknown