Thread (13 messages) 13 messages, 2 authors, 2009-01-30

Re: [PATCH 5/5] netfilter: convert x_tables to use RCU

From: Eric Dumazet <hidden>
Date: 2009-01-30 07:05:15

Eric Dumazet a écrit :
Hum, I just checked and indeed there is a problem...

#define SUM_COUNTER(s,c)  do { (s).bcnt += (c).bcnt; (s).pcnt += (c).pcnt; } while(0)

need to be changed to use 

#define SUM_COUNTER(s, c)  do { xt_incr_counter(s, (c).cnt, (c).pcnt);} while (0)
Oops

#define SUM_COUNTER(s, c)  xt_incr_counter(s, (c).bcnt, (c).pcnt)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help