Project

General

Profile

Actions

Bug #2633

closed

Improve errors handling in AF_PACKET

Added by Eric Leblond over 5 years ago. Updated over 5 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