Project

General

Profile

Actions

Bug #2633

closed

Improve errors handling in AF_PACKET

Added by Eric Leblond about 6 years ago. Updated almost 6 years ago.

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

Description

The error handling in AF_PACKET packet loop function can lead to an exit of the function which should not happen. This could then lead to capture not being working.

The error case (mostly triggered by memory pressure) can be handled without setting the interface to down but should just increase a counter instead.

Actions

Also available in: Atom PDF