[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABF+-6VZB=V1j2cAzhNkJozvcVs=VrQGYX_71HiZJ+g6od7qyA@mail.gmail.com>
Date: Sun, 15 Jul 2012 13:51:12 -0400
From: Kevin Groeneveld <kgroeneveld@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] b44: add 64 bit stats
Hi Eric,
Thanks for the feedback on my patch.
On Sun, Jul 15, 2012 at 3:26 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
> b44_stats_update() is run from timer, (softirq), check b44_timer()
Yes, I knew that. b44_stats_update() is also called from
b44_get_ethtool_stats().
> So you must use u64_stats_fetch_begin_bh()
That I did not know, although it makes sense after I read more about
it. I will submit a new patch with this fixed.
Kevin
--
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