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)
Dec 8 2024, 2:49 PM
Unknown Object (File)
Dec 5 2024, 6:45 AM
Unknown Object (File)
Nov 24 2024, 8:50 PM
Unknown Object (File)
Nov 2 2024, 10:42 PM
Unknown Object (File)
Oct 7 2024, 4:33 AM
Unknown Object (File)
Oct 6 2024, 2:53 PM
Unknown Object (File)
Oct 1 2024, 4:17 PM
Unknown Object (File)
Sep 27 2024, 6:42 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.