]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r282594:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 May 2015 08:32:52 +0000 (08:32 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 May 2015 08:32:52 +0000 (08:32 +0000)
commita76b74343495ffd5c0934bb0e31279dd4b5bd16d
tree5682d20bf5fc076bd58acd9d5fb27ea2ec63f141
parentc56c2a99a7bb30de35c42fe0111bf875019720c1
MFC r282594:
  m_dup() is supposed to give a writable copy of an mbuf chain. It uses
  m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field.
  If original mbuf chain has M_RDONLY flag, its copy also will have it.
  Reset this flag explicitly.

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