From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Patrick McHardy <kaber@trash.net>,
netfilter-devel@vger.kernel.org, netdev <netdev@vger.kernel.org>
Subject: Re: [PATCH] netfilter: nf_tables: 64bit stats need some extra synchronization
Date: Mon, 14 Jul 2014 12:19:26 +0200 [thread overview]
Message-ID: <20140714101926.GA18398@salvia> (raw)
In-Reply-To: <1404911646.3515.26.camel@edumazet-glaptop2.roam.corp.google.com>
On Wed, Jul 09, 2014 at 03:14:06PM +0200, Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@google.com>
>
> Use generic u64_stats_sync infrastructure to get proper 64bit stats,
> even on 32bit arches, at no extra cost for 64bit arches.
>
> Without this fix, 32bit arches can have some wrong counters at the time
> the carry is propagated into upper word.
Applied, thanks for spotting this Eric.
prev parent reply other threads:[~2014-07-14 10:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-09 13:14 [PATCH] netfilter: nf_tables: 64bit stats need some extra synchronization Eric Dumazet
2014-07-14 10:19 ` Pablo Neira Ayuso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140714101926.GA18398@salvia \
--to=pablo@netfilter.org \
--cc=eric.dumazet@gmail.com \
--cc=kaber@trash.net \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).