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)
Fri, Jan 3, 6:01 AM
Unknown Object (File)
Thu, Dec 26, 8:20 AM
Unknown Object (File)
Wed, Dec 25, 8:46 PM
Unknown Object (File)
Dec 12 2024, 1:53 AM
Unknown Object (File)
Dec 8 2024, 12:10 AM
Unknown Object (File)
Dec 5 2024, 2:25 PM
Unknown Object (File)
Oct 31 2024, 7:33 AM
Unknown Object (File)
Oct 27 2024, 10:34 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.