svn commit: r261911 - head/sys/net

Adrian Chadd adrian at FreeBSD.org
Sat Feb 15 07:57:02 UTC 2014


Author: adrian
Date: Sat Feb 15 07:57:01 2014
New Revision: 261911
URL: http://svnweb.freebsd.org/changeset/base/261911

Log:
  Make sure that the flowtable flowid is only set to m_flowid if there
  isn't one already supplied.
  
  The previous flowtable code also did this.
  
  Reviewed by:	glebius
  Sponsored by:	Netflix, Inc.

Modified:
  head/sys/net/flowtable.c

Modified: head/sys/net/flowtable.c
==============================================================================
--- head/sys/net/flowtable.c	Sat Feb 15 07:01:45 2014	(r261910)
+++ head/sys/net/flowtable.c	Sat Feb 15 07:57:01 2014	(r261911)
@@ -1002,7 +1002,7 @@ flowtable_lookup_common(struct flowtable
 	}
 
 success:
-	if (m->m_flags & M_FLOWID) {
+	if (! (m->m_flags & M_FLOWID)) {
 		m->m_flags |= M_FLOWID;
 		m->m_pkthdr.flowid = fle->f_fhash;
 	}


More information about the svn-src-head mailing list