Project

General

Profile

Actions

Bug #2855

closed

Suricata does not bridge host <-> hw rings (Affects FreeBSD 11-STABLE, FreeBSD 12 and FreeBSD 13-CURRENT)

Added by Murat Balaban almost 6 years ago. Updated almost 6 years ago.

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

Description

With the introduction of netmap "partial opening" feature
netmap requires that one gets a new NETMAP_IF pointer after
every NIOCREGIF registration. Because this allocates an
independent instance of struct netmap_if. If one
separately opens hw rings and sw rings he/she'll get two
struct netmap_if, one with the valid hw rings, and the other
with valid sw rings.

Because of that code should get a new netmap_if pointer
after each NIOCREGIF.


Related issues 1 (0 open1 closed)

Copied to Suricata - Bug #2868: Suricata does not bridge host <-> hw rings (Affects FreeBSD 11-STABLE, FreeBSD 12 and FreeBSD 13-CURRENT) (4.0.x)ClosedVictor JulienActions
Actions #1

Updated by Murat Balaban almost 6 years ago

The new pull request is on the way.

Actions #3

Updated by Victor Julien almost 6 years ago

  • Status changed from New to Closed
  • Assignee changed from Victor Julien to Murat Balaban
Actions #4

Updated by Victor Julien almost 6 years ago

  • Copied to Bug #2868: Suricata does not bridge host <-> hw rings (Affects FreeBSD 11-STABLE, FreeBSD 12 and FreeBSD 13-CURRENT) (4.0.x) added
Actions

Also available in: Atom PDF