From: Eric Dumazet <eric.duma...@gmail.com>
Date: Thu, 28 Apr 2016 06:33:24 -0700

> From: Eric Dumazet <eduma...@google.com>
> 
> 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.dich...@6wind.com>
> Tested-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied.

Reply via email to