Date: Thu, 10 Dec 2009 18:34:07 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200360 - head/sys/netinet/ipfw Message-ID: <200912101834.nBAIY7pF071596@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912101834.nBAIY7pF071596>