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()
Updated by Ken Steele about 10 years ago
- Subject changed from flow memuse book keeping error to Flow memuse bookkeeping error
- Assignee set to Ken Steele
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
Fix submitted in PR 1221.
Updated by Victor Julien about 10 years ago
- Status changed from New to Assigned
- Target version set to 2.1beta3
Updated by Victor Julien about 10 years ago
- Status changed from Assigned to Closed
Actions