HomeFreeBSD

m_dup() is supposed to give a writable copy of an mbuf chain. It uses

Description

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

Details

Provenance
aeAuthored on
Parents
rS282593: Reduce the number of files copied onto the FAT partition.
Branches
Unknown
Tags
Unknown