diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-06-23 02:32:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-23 20:48:19 +0200 |
commit | 8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7 (patch) | |
tree | ad5d96e60d1ff4e91f5b23d7ae13884581ae2441 /drivers | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff) | |
download | linux-8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7.tar.xz linux-8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7.zip |
snmp: fix SNMP_ADD_STATS()
commit aa2ea0586d9d (tcp: fix outsegs stat for TSO segments) incorrectly
assumed SNMP_ADD_STATS() was used from BH context.
Fix this using mib[!in_softirq()] instead of mib[0]
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions