Page MenuHomeFreeBSD

Handle read-only mbufs in ether pad function
ClosedPublic

Authored by shurd on Dec 7 2017, 7:29 PM.
Tags
None
Referenced Files
F136642579: D13414.id36353.diff
Tue, Nov 18, 5:25 PM
Unknown Object (File)
Fri, Nov 7, 1:45 AM
Unknown Object (File)
Mon, Nov 3, 12:00 PM
Unknown Object (File)
Fri, Oct 31, 7:43 PM
Unknown Object (File)
Fri, Oct 31, 3:16 PM
Unknown Object (File)
Fri, Oct 31, 3:16 PM
Unknown Object (File)
Fri, Oct 31, 3:16 PM
Unknown Object (File)
Fri, Oct 31, 10:26 AM
Subscribers

Details

Summary

If ethernet padding is enabled, and a read-only mbuf is passed,
it would modify the mbuf using m_append(). Instead, call m_dup() and
append to the new packet.

Test Plan

Validate with A0 hardware and patches discussed in D13269 and D13324.

Diff Detail

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