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

Bug1111 #858

Merged
merged 2 commits into from Feb 27, 2014
Merged

Bug1111 #858

merged 2 commits into from Feb 27, 2014

Conversation

regit
Copy link
Contributor

@regit regit commented Feb 27, 2014

The first patch is a fix for bug 1111. The second converts the packets counter to 64bits integer to avoid a potential overflow on busy boxes.

Redmine ticket: https://redmine.openinfosecfoundation.org/issues/1111

PR builds:

Packets counter is incremented in AFPDumpCounters and it was
also incremented during packet reading. The result was a value
that is twice the expected result.

Spotted-by: Victor Julien <victor@inliniac.net>
Some of the packets counters were using a 32bit integer. Given the
bandwidth that is often seen, this is not a good idea. This patch
switches to 64bit counter.
@inliniac inliniac mentioned this pull request Feb 27, 2014
@inliniac inliniac merged commit 3ce3943 into OISF:master Feb 27, 2014
@regit regit deleted the bug1111 branch February 27, 2014 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants