Actions
Bug #1321
closedFlow memuse bookkeeping error
Affected Versions:
Effort:
Difficulty:
Label:
Description
There appears to be a mismatch between increase flow_memuse when allocating a new flow and decrementing it when freeing the flow.
In flow-util.c:
FlowAlloc() adds sizeof(Flow) + FlowStorageSize() to flow_memuse
FlowFree() subtracts sizeof(Flow)
So for each flow created and destroyed, flowmemcap incorrectly is larger by FlowStorageSize()
Actions