Do not panic when flushing dummynet firewall rules

Reviewed by: andre
Approved by: re (scottl)
This commit is contained in:
Maksim Yevmenkin 2003-12-06 09:01:25 +00:00
parent 20eec4bbdb
commit a6a66f5c4c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123169

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();
}