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
F174772171: D13414.diff
Mon, Oct 5, 9:55 PM
Unknown Object (File)
Wed, Sep 23, 11:27 PM
Unknown Object (File)
Mon, Sep 21, 9:21 PM
Unknown Object (File)
Mon, Sep 21, 9:20 PM
Unknown Object (File)
Mon, Sep 21, 9:12 PM
Unknown Object (File)
Mon, Sep 21, 9:01 PM
Unknown Object (File)
Wed, Sep 16, 12:14 PM
Unknown Object (File)
Sep 2 2026, 4:15 PM
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