commit | 8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <eric.dumazet@gmail.com> | Wed Jun 23 00:32:03 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Wed Jun 23 11:48:19 2010 -0700 |
tree | ad5d96e60d1ff4e91f5b23d7ae13884581ae2441 | |
parent | 8ceedea7c2600a1018d20f67e766c0773b59391a [diff] |
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>