svn commit: r200360 - head/sys/netinet/ipfw

Luigi Rizzo luigi at FreeBSD.org
Thu Dec 10 10:34:08 PST 2009


Author: luigi
Date: Thu Dec 10 18:34:07 2009
New Revision: 200360
URL: http://svn.freebsd.org/changeset/base/200360

Log:
  when draining a flowset free the entire chain, not just one packet.

Modified:
  head/sys/netinet/ipfw/ip_dummynet.c

Modified: head/sys/netinet/ipfw/ip_dummynet.c
==============================================================================
--- head/sys/netinet/ipfw/ip_dummynet.c	Thu Dec 10 16:55:16 2009	(r200359)
+++ head/sys/netinet/ipfw/ip_dummynet.c	Thu Dec 10 18:34:07 2009	(r200360)
@@ -1990,7 +1990,7 @@ dummynet_drain(void)
     for (i = 0; i < HASHSIZE; i++) {
 	SLIST_FOREACH(pipe, &pipehash[i], next) {
 		purge_flow_set(&(pipe->fs), 0);
-		dn_free_pkt(pipe->head);
+		dn_free_pkts(pipe->head);
 		pipe->head = pipe->tail = NULL;
 	}
     }


More information about the svn-src-head mailing list