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
F170282762: D5800.id14786.diff
Fri, Sep 4, 3:42 AM
Unknown Object (File)
Thu, Sep 3, 2:05 PM
Unknown Object (File)
Thu, Sep 3, 2:45 AM
Unknown Object (File)
Wed, Sep 2, 12:21 AM
Unknown Object (File)
Tue, Sep 1, 2:20 AM
Unknown Object (File)
Tue, Sep 1, 1:46 AM
Unknown Object (File)
Sun, Aug 30, 8:41 PM
Unknown Object (File)
Sun, Aug 30, 7:51 AM
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

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

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.