Page MenuHomeFreeBSD

Don't omit m_dup() for non-writeable mbufs that need checksum calculation
ClosedPublic

Authored by zbb on Mar 31 2016, 1:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 4, 12:11 AM
Unknown Object (File)
Mon, Nov 3, 6:47 AM
Unknown Object (File)
Fri, Oct 24, 4:50 AM
Unknown Object (File)
Fri, Oct 17, 3:19 PM
Unknown Object (File)
Fri, Oct 17, 3:19 PM
Unknown Object (File)
Fri, Oct 17, 3:19 PM
Unknown Object (File)
Fri, Oct 17, 6:36 AM
Unknown Object (File)
Oct 10 2025, 8:52 PM
Subscribers

Details

Summary

If the driver is not active or link is down the packet could remain
non-writeable. This commit makes all mbufs enqueued to the driver's
ring buffer to have correct attributes.

Pointed out by: wma
Reviewed by:
Obtained from: Semihalf
Sponsored by: Cavium
Differential Revision:

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zbb retitled this revision from to Don't omit m_dup() for non-writeable mbufs that need checksum calculation .
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added reviewers: wma, imp.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added a subscriber: arm64.
wma edited edge metadata.
This revision is now accepted and ready to land.Mar 31 2016, 1:21 PM
This revision was automatically updated to reflect the committed changes.