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
F168200359: D14843.id40726.diff
Wed, Aug 26, 8:45 PM
F168052967: D14843.id40736.diff
Wed, Aug 26, 3:56 AM
Unknown Object (File)
Tue, Aug 25, 12:18 PM
Unknown Object (File)
Tue, Aug 25, 9:11 AM
Unknown Object (File)
Tue, Aug 25, 5:39 AM
Unknown Object (File)
Sat, Aug 22, 10:04 AM
Unknown Object (File)
Fri, Aug 21, 1:11 PM
Unknown Object (File)
Fri, Aug 21, 12:52 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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15792
Build 15803: arc lint + arc unit

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.