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
Unknown Object (File)
Nov 10 2024, 2:58 PM
Unknown Object (File)
Oct 29 2024, 3:23 PM
Unknown Object (File)
Oct 29 2024, 12:02 PM
Unknown Object (File)
Oct 29 2024, 12:02 PM
Unknown Object (File)
Oct 29 2024, 12:02 PM
Unknown Object (File)
Oct 29 2024, 11:50 AM
Unknown Object (File)
Oct 28 2024, 11:34 AM
Unknown Object (File)
Oct 27 2024, 7:04 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