when draining a flowset free the entire chain, not just one packet.
This commit is contained in:
parent
28336d6080
commit
89717f91ef
@ -1990,7 +1990,7 @@ dummynet_drain(void)
|
||||
for (i = 0; i < HASHSIZE; i++) {
|
||||
SLIST_FOREACH(pipe, &pipehash[i], next) {
|
||||
purge_flow_set(&(pipe->fs), 0);
|
||||
dn_free_pkt(pipe->head);
|
||||
dn_free_pkts(pipe->head);
|
||||
pipe->head = pipe->tail = NULL;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user