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;
        }
     }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to