summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorEric Dumazet2014-02-25 13:31:03 +0100
committerDavid S. Miller2014-02-26 21:19:47 +0100
commit9a9bfd032f0207dd6e63c84b7676b58f160af04b (patch)
tree69f714ca5c2b2260bbcad206464b0bdba7be9a97 /net/mac802154
parentphy: unmask link partner capabilities (diff)
downloadkernel-qcow2-linux-9a9bfd032f0207dd6e63c84b7676b58f160af04b.tar.gz
kernel-qcow2-linux-9a9bfd032f0207dd6e63c84b7676b58f160af04b.tar.xz
kernel-qcow2-linux-9a9bfd032f0207dd6e63c84b7676b58f160af04b.zip
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 <edumazet@google.com> Cc: Hannes Frederic Sowa <hannes@stressinduktion.org> Cc: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac802154')
0 files changed, 0 insertions, 0 deletions