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
F132641459: D14843.id.diff
Sat, Oct 18, 4:37 PM
F132641454: D14843.id40726.diff
Sat, Oct 18, 4:37 PM
F132641452: D14843.id40736.diff
Sat, Oct 18, 4:37 PM
F132590041: D14843.diff
Sat, Oct 18, 5:40 AM
Unknown Object (File)
Fri, Oct 17, 5:43 PM
Unknown Object (File)
Sun, Sep 28, 3:50 PM
Unknown Object (File)
Mon, Sep 22, 2:06 PM
Unknown Object (File)
Mon, Sep 22, 4:03 AM
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.