]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r282594:
authorae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 May 2015 08:28:35 +0000 (08:28 +0000)
committerae <ae@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 21 May 2015 08:28:35 +0000 (08:28 +0000)
commit0a210117aac3693d271cde155b178477f960f9e1
treec8f383a5aaa9ae3689be2592b8a10fbaf63cb17f
parentc7c4d221eb8eda1c699759102e97065fb72bc6dc
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/10@283198 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/uipc_mbuf.c