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
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "[email protected]"

Reply via email to