Page MenuHomeFreeBSD

Clamp IFLIB_RX_COPY_THRESH to MHLEN in iflib_rxd_pkt_get()
ClosedPublic

Authored by markj on Mar 25 2018, 2:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 22, 11:11 AM
Unknown Object (File)
Wed, Dec 17, 8:27 AM
Unknown Object (File)
Mon, Dec 15, 3:28 PM
Unknown Object (File)
Nov 20 2025, 9:40 PM
Unknown Object (File)
Nov 20 2025, 9:39 PM
Unknown Object (File)
Nov 20 2025, 9:38 PM
Unknown Object (File)
Nov 20 2025, 9:31 PM
Unknown Object (File)
Nov 5 2025, 6:32 PM
Subscribers

Details

Summary

If one has modified the layout of struct mbuf such that MHLEN is smaller
than the threshold, this function will cause memory corruption.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Mar 25 2018, 11:23 PM
This revision was automatically updated to reflect the committed changes.