summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-04-24 22:18:50 +0000
committerngie <ngie@FreeBSD.org>2015-04-24 22:18:50 +0000
commit0c3758f009b82212c1c351b8dabdbb5e6b28b85a (patch)
treebac7cb02a874b06577f3af0119cb91664d2673e0 /share
parentf4535e80c9bbf9c3ea567e18c7817e621c2694ff (diff)
downloadFreeBSD-src-0c3758f009b82212c1c351b8dabdbb5e6b28b85a.zip
FreeBSD-src-0c3758f009b82212c1c351b8dabdbb5e6b28b85a.tar.gz
MFC r279393:
Pad RX copy alignment calculation to avoid illegal memory accesses The optimization made in r239940 is valid for struct mbuf's current structure and size in FreeBSD, but hardcodes assumptions about sizes of struct mbuf, which are unfortunately broken if additional data is added to the beginning of struct mbuf X-MFC note (discussed with rwatson): This change requires the MPKTHSIZE definition, which is only available after head@r277203 and will not be MFCed as it breaks mbuf(9) KPI. A direct commit to stable/10 and merges to other branches to add the necessary definitions to work with the code as-is will be done to facilitate this MFC PR: 194314 Approved/Reviewed by: erj, jfv Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud