svn commit: r202744 - user/luigi/ipfw3-head/sys/netinet/ipfw

Luigi Rizzo luigi at FreeBSD.org
Thu Jan 21 11:41:30 UTC 2010


Author: luigi
Date: Thu Jan 21 11:41:29 2010
New Revision: 202744
URL: http://svn.freebsd.org/changeset/base/202744

Log:
  fix an error in a comparison

Modified:
  user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched_rr.c

Modified: user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched_rr.c
==============================================================================
--- user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched_rr.c	Thu Jan 21 11:36:40 2010	(r202743)
+++ user/luigi/ipfw3-head/sys/netinet/ipfw/dn_sched_rr.c	Thu Jan 21 11:41:29 2010	(r202744)
@@ -113,7 +113,7 @@ rr_enqueue(struct new_sch_inst *_si, str
 	if (m != q->mq.head) {
 		if (dn_enqueue(q, m, 0)) /* packet was dropped */
 			return 1;
-		if (m == q->mq.head)
+		if (m != q->mq.head)
 			return 0;
 	}
 


More information about the svn-src-user mailing list