Project

General

Profile

Actions

Bug #6292

closed

Flow manager stuck forever on race condition for return stack

Added by Cole Dishington about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

The return stack queue is checked before obtaining the lock in src/tmqh-packetpool.c:118. This leaves a small window where the FlowManager thread is waiting for the queue lock and another thread is populating the queue. The FlowManager thread would miss the signal as it had not started waiting for it. The FlowManager thread would be stuck forever.

The overall result of this is that there are no available packet buffers to be used for forcing closure of timed out flows, we run out of flows and traffic is blocked.

Actions #1

Updated by Victor Julien about 1 year ago

  • Target version changed from 7.0.1 to 7.0.2
Actions #2

Updated by Victor Julien about 1 year ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #3

Updated by Victor Julien about 1 year ago

  • Status changed from New to Closed
  • Assignee changed from Cole Dishington to Victor Julien
Actions

Also available in: Atom PDF