mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123169
@ -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