svn commit: r281603 - stable/10/sys/sys

John Baldwin jhb at FreeBSD.org
Thu Apr 16 15:09:47 UTC 2015


Author: jhb
Date: Thu Apr 16 15:09:46 2015
New Revision: 281603
URL: https://svnweb.freebsd.org/changeset/base/281603

Log:
  MFC 280222:
  Clear an mbuf's external storage flags in m_extaddref(). They are cleared
  in other places that set the external storage type (ext_type) such as
  m_cljset(), m_extadd(), mb_ctor_clust(), and vn_sendfile().

Modified:
  stable/10/sys/sys/mbuf.h
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/sys/mbuf.h
==============================================================================
--- stable/10/sys/sys/mbuf.h	Thu Apr 16 13:25:22 2015	(r281602)
+++ stable/10/sys/sys/mbuf.h	Thu Apr 16 15:09:46 2015	(r281603)
@@ -564,6 +564,7 @@ m_extaddref(struct mbuf *m, caddr_t buf,
 	m->m_ext.ext_arg1 = arg1;
 	m->m_ext.ext_arg2 = arg2;
 	m->m_ext.ext_type = EXT_EXTREF;
+	m->m_ext.ext_flags = 0;
 }
 
 static __inline uma_zone_t


More information about the svn-src-all mailing list