diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2015-05-07 18:35:01 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2015-05-07 18:35:01 +0000 |
commit | 089bb672c4c899c37c0e9cd0332b8ae1a548693e (patch) | |
tree | 4fbb78cde71f46ea82ffa2c581b545df31031d7b /usr.sbin/bhyve | |
parent | 185bf88e3348a5d61c95f7b905418e27a732720d (diff) | |
download | src-089bb672c4c899c37c0e9cd0332b8ae1a548693e.tar.gz src-089bb672c4c899c37c0e9cd0332b8ae1a548693e.zip |
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.
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=282594
Diffstat (limited to 'usr.sbin/bhyve')
0 files changed, 0 insertions, 0 deletions