summaryrefslogtreecommitdiff
path: root/net/ipv4/ip_forward.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-04-28 13:33:24 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-04-28 15:49:45 (GMT)
commitba7863f4d3bfe1698e0a92934cbc9c3021f4448d (patch)
tree1c16be7df70cdc963ef59fd3e9c5ecfb553fda00 /net/ipv4/ip_forward.c
parent8be2748a40cb84c2ac5085e7e6bccb5a5fcc6235 (diff)
downloadlinux-ba7863f4d3bfe1698e0a92934cbc9c3021f4448d.tar.xz
net: snmp: fix 64bit stats on 32bit arches
I accidentally replaced BH disabling by preemption disabling in SNMP_ADD_STATS64() and SNMP_UPD_PO_STATS64() on 32bit builds. For 64bit stats on 32bit arch, we really need to disable BH, since the "struct u64_stats_sync syncp" might be manipulated both from process and BH contexts. Fixes: 6aef70a851ac ("net: snmp: kill various STATS_USER() helpers") Reported-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Tested-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_forward.c')
0 files changed, 0 insertions, 0 deletions