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: fix problem introduced in recent commit #780

Merged
merged 1 commit into from Jan 17, 2014

Conversation

regit
Copy link
Contributor

@regit regit commented Jan 17, 2014

Logic of patch 98e4a14 was correct
but implementation is wrong because TP_STATUS_KERNEL is equal to
zero and thus can not be evaluated in a binary operation. This patch
updates the logic by doing two tests.

Reported-by: Alessandro Guido

Ticket: https://redmine.openinfosecfoundation.org/issues/1081

PR builds:

Logic of patch 98e4a14 was correct
but implementation is wrong because TP_STATUS_KERNEL is equal to
zero and thus can not be evaluated in a binary operation. This patch
updates the logic by doing two tests.

Reported-by: Alessandro Guido
@inliniac inliniac merged commit 82a2dd8 into OISF:master Jan 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants