Page MenuHomeFreeBSD

gif: Fix mbuf alignment manipulation
Needs ReviewPublic

Authored by markj on Thu, Aug 4, 5:14 PM.

Details

Reviewers
None
Group Reviewers
network
Summary

The output routines prepend an IP header with some extra wiggle room on
platforms which we declare to require strict alignment (i.e., everything
except x86). When doing so we may end up cutting off that wiggle room,
which involves updating the mbuf length. In this case we must update
the mbuf header as well.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 46746
Build 43635: arc lint + arc unit