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)
Thu, Dec 4, 10:05 AM
Unknown Object (File)
Thu, Dec 4, 6:49 AM
Unknown Object (File)
Thu, Nov 20, 8:46 PM
Unknown Object (File)
Thu, Nov 20, 8:39 PM
Unknown Object (File)
Thu, Nov 20, 8:39 PM
Unknown Object (File)
Thu, Nov 20, 8:32 PM
Unknown Object (File)
Nov 18 2025, 8:09 PM
Unknown Object (File)
Nov 17 2025, 8:04 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.