mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-10 17:58:09 +00:00
Fixes shutdown procedures with new hash entry states
This commit is contained in:
parent
cbfcff9633
commit
453efa749f
4 changed files with 26 additions and 17 deletions
|
|
@ -250,13 +250,18 @@ u_int GenericHash::purgeIdle(bool force_idle) {
|
|||
|
||||
case hash_entry_state_allocated:
|
||||
/* TCP flows with 3WH not yet completed fall here */
|
||||
if(force_idle) head->set_hash_entry_state_idle();
|
||||
break;
|
||||
|
||||
case hash_entry_state_flow_notyetdetected:
|
||||
head->housekeep(now);
|
||||
if(force_idle) head->set_hash_entry_state_idle();
|
||||
break;
|
||||
|
||||
case hash_entry_state_flow_protocoldetected:
|
||||
if(force_idle) head->set_hash_entry_state_idle();
|
||||
break;
|
||||
|
||||
case hash_entry_state_idle:
|
||||
/* Skip as this is handled by periodic activities thread */
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue