summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/partedit/partedit_x86.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2014-10-12 15:49:52 +0000
committerrwatson <rwatson@FreeBSD.org>2014-10-12 15:49:52 +0000
commit9532a34956eebfbc46d32db0a73a33a09ff42fb8 (patch)
tree3d1cc176a1a9d02914a169d4a5df66a82f05c1b7 /usr.sbin/bsdinstall/partedit/partedit_x86.c
parent2791f385b984a34d6a9ec9d1a14314a9d323d57f (diff)
downloadFreeBSD-src-9532a34956eebfbc46d32db0a73a33a09ff42fb8.zip
FreeBSD-src-9532a34956eebfbc46d32db0a73a33a09ff42fb8.tar.gz
When deciding whether to call m_pullup() even though there is adequate
data in an mbuf, use M_WRITABLE() instead of a direct test of M_EXT; the latter both unnecessarily exposes mbuf-allocator internals in the protocol stack and is also insufficient to catch all cases of non-writability. (NB: m_pullup() does not actually guarantee that a writable mbuf is returned, so further refinement of all of these code paths continues to be required.) Reviewed by: bz MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D900
Diffstat (limited to 'usr.sbin/bsdinstall/partedit/partedit_x86.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud