Project

General

Profile

Actions

Bug #6292

closed

Flow manager stuck forever on race condition for return stack

Added by Cole Dishington 8 months ago. Updated 6 months 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 8 months ago

  • Target version changed from 7.0.1 to 7.0.2
Actions #2

Updated by Victor Julien 7 months ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #3

Updated by Victor Julien 6 months ago

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

Also available in: Atom PDF