Skip to content
Commit e3906486 authored by Kevin Groeneveld's avatar Kevin Groeneveld Committed by David S. Miller
Browse files

net: fix race condition in several drivers when reading stats



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: default avatarKevin Groeneveld <kgroeneveld@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0980e56e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment