]> Git Repo - linux.git/commit
snmp: fix SNMP_ADD_STATS()
authorEric Dumazet <[email protected]>
Wed, 23 Jun 2010 00:32:03 +0000 (00:32 +0000)
committerDavid S. Miller <[email protected]>
Wed, 23 Jun 2010 18:48:19 +0000 (11:48 -0700)
commit8f1c14b2e3b1805d3e9e6a306d07f5371ea703a7
treead5d96e60d1ff4e91f5b23d7ae13884581ae2441
parent8ceedea7c2600a1018d20f67e766c0773b59391a
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 <[email protected]>
CC: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/snmp.h
This page took 0.04997 seconds and 4 git commands to generate.