svn commit: r250720 - head/sys/sys

Julian Elischer julian at FreeBSD.org
Thu May 16 21:27:48 UTC 2013


Author: julian
Date: Thu May 16 21:27:47 2013
New Revision: 250720
URL: http://svnweb.freebsd.org/changeset/base/250720

Log:
  Fix cut-n-paste error.

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h	Thu May 16 21:26:46 2013	(r250719)
+++ head/sys/sys/mbuf.h	Thu May 16 21:27:47 2013	(r250720)
@@ -1010,14 +1010,14 @@ m_tag_find(struct mbuf *m, int type, str
 static int inline
 rt_m_getfib(struct mbuf *m)
 {
-	KASSERT(m->m_flags & M_EXT , ("attempt to set FIB on non header mbuf"));
+	KASSERT(m->m_flags & M_PKTHDR , ("Attempt to get FIB from non header mbuf."));
 	return (m->m_pkthdr.fibnum);
 }
 
 #define M_GETFIB(_m)   rt_m_getfib(_m)
 
 #define M_SETFIB(_m, _fib) do {						\
-        KASSERT((_m)->m_flags & M_EXT, ("No FIB on non header mbuf"));	\
+        KASSERT((_m)->m_flags & M_PKTHDR, ("Attempt to set FIB on non header mbuf."));	\
 	((_m)->m_pkthdr.fibnum) = (_fib);				\
 } while (0)
 


More information about the svn-src-head mailing list