aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/transport.c
diff options
context:
space:
mode:
authorKevin Groeneveld <kgroeneveld@gmail.com>2012-07-21 06:30:50 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-22 12:12:32 -0700
commite3906486f616da7cc086a3ba06c0df4e5a48b4ab (patch)
tree573b6a99cf6f1e2958c59223d2e77ebe36e71ffa /net/sctp/transport.c
parentipv4: tcp: set unicast_sock uc_ttl to -1 (diff)
downloadlinux-dev-e3906486f616da7cc086a3ba06c0df4e5a48b4ab.tar.xz
linux-dev-e3906486f616da7cc086a3ba06c0df4e5a48b4ab.zip
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: Kevin Groeneveld <kgroeneveld@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/transport.c')
0 files changed, 0 insertions, 0 deletions