]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e39872fb1cbc37d079c5742756b8b9c8d144668
tree6a713be7255b973dfbf3178c64ae0e7ce94f7695
parent5772ed677ed8279048daca6aa7ec490561776ea5
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