Do not panic when flushing dummynet firewall rules
Reviewed by: andre Approved by: re (scottl)
This commit is contained in:
parent
3b8e185f65
commit
9d07822abc
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user