]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r242256:
authorandre <andre@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 16:03:19 +0000 (16:03 +0000)
committerandre <andre@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 5 Jul 2013 16:03:19 +0000 (16:03 +0000)
commita81195753acb11779e00a5473fbcc36bc1c7579e
tree09d7db51f0d661bb1cf59e14abd895d11b35c89c
parent5b045b61a3ff71ad48b252d4e2755ec6f17be48d
MFC r242256:

 Improve m_cat() by being able to also merge contents from M_EXT
 mbuf's by doing proper testing with M_WRITABLE().

 In m_collapse() replace an incomplete manual check for M_RDONLY
 with the M_WRITABLE() macro that also tests for shared buffers
 and other cases that make a particular mbuf immutable.

git-svn-id: svn://svn.freebsd.org/base/stable/9@252796 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/uipc_mbuf.c