Project

General

Profile

Actions

Bug #2634

closed

Improve errors handling in AF_PACKET (4.0.x)

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

Status:
Closed
Priority:
Normal
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

This will be a backport of #2633

Actions

Also available in: Atom PDF