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 over 5 years ago. Updated over 5 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

Also available in: Atom PDF