From: Eric Dumazet Date: Tue, 25 Feb 2014 12:31:03 +0000 (-0800) Subject: net: tcp: use NET_INC_STATS() X-Git-Tag: v3.14-rc6~30^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a9bfd032f0207dd6e63c84b7676b58f160af04b;p=pandora-kernel.git net: tcp: use NET_INC_STATS() While LINUX_MIB_TCPSPURIOUS_RTX_HOSTQUEUES can only be incremented in tcp_transmit_skb() from softirq (incoming message or timer activation), it is better to use NET_INC_STATS() instead of NET_INC_STATS_BH() as tcp_transmit_skb() can be called from process context. This will avoid copy/paste confusion when/if we want to add other SNMP counters in tcp_transmit_skb() Signed-off-by: Eric Dumazet Cc: Hannes Frederic Sowa Cc: Florian Westphal Signed-off-by: David S. Miller --- Reading git-diff-tree failed