Project

General

Profile

Actions

Bug #1321

closed

Flow memuse bookkeeping error

Added by Ken Steele over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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 #1

Updated by Ken Steele over 9 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.

Actions #2

Updated by Victor Julien over 9 years ago

  • Status changed from New to Assigned
  • Target version set to 2.1beta3
Actions #3

Updated by Victor Julien over 9 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF