Date: Thu, 4 Dec 2003 11:40:19 -0800 (PST) From: Maksim Yevmenkin <m_evmenkin@yahoo.com> To: current@freebsd.org, net@freebsd.org Cc: re@freebsd.org Subject: PATCH: dummynet(4) panic Message-ID: <20031204194019.30975.qmail@web40309.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Dear Hackers,
could we please commit the attached patch. it fixes the dummynet(4) panic
when you do ipfw(8) flush with configured dummynet(4) rules.
thanks,
max
p.s. if re@ will give a green ligth can someone please commit it?
i will not be able to do it until evening.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
[-- Attachment #2 --]
--- ip_dummynet.c.orig Thu Dec 4 19:01:30 2003
+++ ip_dummynet.c Thu Dec 4 19:02:30 2003
@@ -1386,7 +1386,6 @@
heap_free(&ready_heap);
heap_free(&wfq_ready_heap);
heap_free(&extract_heap);
- DUMMYNET_UNLOCK();
/*
* Now purge all queued pkts and delete all pipes
@@ -1403,6 +1402,7 @@
p = p->next ;
free(curr_p, M_DUMMYNET);
}
+ DUMMYNET_UNLOCK();
}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031204194019.30975.qmail>
