Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

af_packet: propagate timeout when no packets received #14

Merged
merged 1 commit into from
Mar 15, 2018

Conversation

adriansr
Copy link

@adriansr adriansr commented Mar 14, 2018

This patch causes the syscall.EINTR error to be produced when the timeout expires and no packets have been received.

Otherwise, the timeout will not be honored until at least one packet arrives.

This is a partial fix for elastic/beats#6535

This patch causes the syscall.EINTR error to be produced
when the timeout expires and no packets have been received.

Otherwise the timeout will not be honored until at least one
packet arrives.
@tsg tsg merged commit 592b69b into tsg:master Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants