mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not panic when flushing dummynet firewall rules
Reviewed by: andre Approved by: re (scottl)
This commit is contained in:
parent
20eec4bbdb
commit
a6a66f5c4c
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue