]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
Backport MHSIZE/MPKTHSIZE equivalents from head
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Apr 2015 21:38:18 +0000 (21:38 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Apr 2015 21:38:18 +0000 (21:38 +0000)
commit0cfdd07f1e8047ff91f00830018df6847f2cf89c
tree4231f542b9659588dd25d2df2025745ff281aebf
parent86e04fa55546c9dc3a15b4978b9c453d30be2e00
Backport MHSIZE/MPKTHSIZE equivalents from head

These macros are equivalent to the ones on head, except they are only exposed
when _KERNEL is defined, i.e. to kernel code, whereas the code on head is exposed
to userland as well

This is for improved forwards compatibility with mbuf(9) macros in head@r277203+,
and is required for a clean MFC of r279393

This is a direct commit to stable/10

MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D2126
Reviewed by: glebius, rwatson
Sponsored by: EMC / Isilon Storage Division

git-svn-id: svn://svn.freebsd.org/base/stable/10@281951 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/sys/mbuf.h