Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Potential race condition in flow setup #5

Description

@vaterlaus

When SNAC gets a packet_in, it responds with two messages.

  1. a flow_mod entry to change the flow table
  2. a packet_out message with actions output:TABLE to free the buffered packet_in packet
    The issue is that message (1) is not guaranteed to be finished processing before message (2) is processed, and it is likely that the first packet in a flow is lost, which can cause annoying delays for users.
    We have not seen this bug often in practice because most switches are single threaded. That said, it is likely an issue that should be resolved.

Reported by: capveg
Priority: minor

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions