svn commit: r272796 - head/sys/sys

Bryan Venteicher bryanv at FreeBSD.org
Thu Oct 9 04:40:20 UTC 2014


Author: bryanv
Date: Thu Oct  9 04:40:19 2014
New Revision: 272796
URL: https://svnweb.freebsd.org/changeset/base/272796

Log:
  Add M_FLOWID to M_COPYFLAGS
  
  The M_FLOWID flag should be propagated to the new mbuf pkthdr in
  m_move_pkthdr() and m_dup_pkthdr(). The new mbuf already got the
  existing flowid value, but would be ignored since the flag was
  not set.
  
  Phabricator:	https://reviews.freebsd.org/D914
  Reviewed by:	adrian
  Obtained from:	NetApp
  MFC after:	1 week

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h	Thu Oct  9 04:10:58 2014	(r272795)
+++ head/sys/sys/mbuf.h	Thu Oct  9 04:40:19 2014	(r272796)
@@ -248,7 +248,7 @@ struct mbuf {
  * Flags preserved when copying m_pkthdr.
  */
 #define M_COPYFLAGS \
-    (M_PKTHDR|M_EOR|M_RDONLY|M_BCAST|M_MCAST|M_VLANTAG|M_PROMISC| \
+    (M_PKTHDR|M_EOR|M_RDONLY|M_BCAST|M_MCAST|M_PROMISC|M_VLANTAG|M_FLOWID| \
      M_PROTOFLAGS)
 
 /*


More information about the svn-src-all mailing list