PERFORCE change 149296 for review

Sam Leffler sam at FreeBSD.org
Sat Sep 6 00:15:54 UTC 2008


http://perforce.freebsd.org/chv.cgi?CH=149296

Change 149296 by sam at sam_ebb on 2008/09/06 00:15:22

	fix age calculations yet again; q entries have an age that
	is relative to the head

Affected files ...

.. //depot/projects/vap/sys/net80211/ieee80211_freebsd.h#34 edit

Differences ...

==== //depot/projects/vap/sys/net80211/ieee80211_freebsd.h#34 (text+ko) ====

@@ -101,7 +101,7 @@
 #define	_AGEQ_ENQUEUE(_ifq, _m, _qlen, _age) do {		\
 	(_m)->m_nextpkt = NULL;					\
 	if ((_ifq)->ifq_tail != NULL) { 			\
-		_age -= M_AGE_GET((_ifq)->ifq_tail);		\
+		_age -= M_AGE_GET((_ifq)->ifq_head);		\
 		(_ifq)->ifq_tail->m_nextpkt = (_m);		\
 	} else { 						\
 		(_ifq)->ifq_head = (_m); 			\


More information about the p4-projects mailing list