Page MenuHomeFreeBSD

Convert UDP length to host byte order
ClosedPublic

Authored by thj on Sep 29 2018, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 12, 7:32 PM
Unknown Object (File)
Thu, May 7, 2:20 AM
Unknown Object (File)
Wed, Apr 29, 10:10 AM
Unknown Object (File)
Sun, Apr 26, 5:16 PM
Unknown Object (File)
Sun, Apr 26, 4:16 PM
Unknown Object (File)
Apr 17 2026, 11:01 AM
Unknown Object (File)
Apr 14 2026, 11:37 PM
Unknown Object (File)
Apr 14 2026, 11:29 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Oct 1 2018, 11:47 AM

Looks good. Please commit with "Approved: jtl (mentor)".

Don't forget that you'll also need to get RE approval before committing to head during the freeze.

This revision was automatically updated to reflect the committed changes.