snmp: SNMP_UPD_PO_STATS_BH() always called from softirq
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 22 Mar 2011 01:12:54 +0000 (18:12 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Mar 2011 01:12:54 +0000 (18:12 -0700)
commit20246a800389fe5442675c59863fec5a4f520c7c
tree6a713be7255b973dfbf3178c64ae0e7ce94f7695
parent8aa525a9340da4227797a06221ca08399006635f
snmp: SNMP_UPD_PO_STATS_BH() always called from softirq

We dont need to test if we run from softirq context, we definitely are.

This saves few instructions in ip_rcv() & ip_rcv_finish()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/snmp.h