[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sun, 22 Jul 2012 12:12:52 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kgroeneveld@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] net: fix race condition in several drivers when
reading stats
From: Kevin Groeneveld <kgroeneveld@...il.com>
Date: Sat, 21 Jul 2012 12:30:50 -0400
> Fix race condition in several network drivers when reading stats on 32bit
> UP architectures. These drivers update their stats in a BH context and
> therefore should use u64_stats_fetch_begin_bh/u64_stats_fetch_retry_bh
> instead of u64_stats_fetch_begin/u64_stats_fetch_retry when reading the
> stats.
>
> Signed-off-by: Kevin Groeneveld <kgroeneveld@...il.com>
Applied, thanks.
--
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