Project

General

Profile

Actions

Bug #2868

closed

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

Added by Victor Julien 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 from Suricata - Bug #2855: Suricata does not bridge host <-> hw rings (Affects FreeBSD 11-STABLE, FreeBSD 12 and FreeBSD 13-CURRENT)ClosedMurat BalabanActions
Actions

Also available in: Atom PDF