projects
/
platform
/
upstream
/
ebtables.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9ca781
)
fix rule counter bug (reported by James Sinclair): possible wrong initialization...
author
Bart De Schuymer
<bdschuym@pandora.be>
Sun, 4 Dec 2011 09:16:57 +0000
(09:16 +0000)
committer
Bart De Schuymer
<bdschuym@pandora.be>
Sun, 4 Dec 2011 09:16:57 +0000
(09:16 +0000)
communication.c
patch
|
blob
|
history
diff --git
a/communication.c
b/communication.c
index
0917f6e
..
f19bda4
100644
(file)
--- a/
communication.c
+++ b/
communication.c
@@
-309,6
+309,7
@@
void ebt_deliver_counters(struct ebt_u_replace *u_repl)
new = newcounters;
while (cc != u_repl->cc) {
if (!next || next == entries->entries) {
+ chainnr++;
while (chainnr < u_repl->num_chains && (!(entries = u_repl->chains[chainnr]) ||
(next = entries->entries->next) == entries->entries))
chainnr++;