From: Eric Dumazet Date: Wed, 23 Jun 2010 00:32:03 +0000 (+0000) Subject: snmp: fix SNMP_ADD_STATS() X-Git-Tag: v2.6.35-rc4~54^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7;p=pandora-kernel.git 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 CC: Tom Herbert Signed-off-by: David S. Miller --- Reading git-diff-tree failed