[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4982A6A3.2090304@cosmosbay.com>
Date: Fri, 30 Jan 2009 08:05:07 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 5/5] netfilter: convert x_tables to use RCU
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)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists