Do not panic when flushing dummynet firewall rules

Reviewed by: andre
Approved by: re (scottl)
This commit is contained in:
emax 2003-12-06 09:01:25 +00:00
parent 3b8e185f65
commit 9d07822abc

View File

@ -1386,7 +1386,6 @@ dummynet_flush()
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 @@ dummynet_flush()
p = p->next ;
free(curr_p, M_DUMMYNET);
}
DUMMYNET_UNLOCK();
}