diff options
author | Eric Dumazet <edumazet@google.com> | 2016-04-27 19:44:39 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-27 22:48:24 -0400 |
commit | 02a1d6e7a6bb025a77da77012190e1efc1970f1c (patch) | |
tree | 79fdbbaa1812a45cff7148cdaca96685e2c1a287 /include/net/tcp.h | |
parent | b15084ec7d4c89000242d69b5f57b4d138bad1b9 (diff) |
net: rename NET_{ADD|INC}_STATS_BH()
Rename NET_INC_STATS_BH() to __NET_INC_STATS()
and NET_ADD_STATS_BH() to __NET_ADD_STATS()
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 939ebd5320a9..ff8b4265cb2b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1743,7 +1743,7 @@ static inline __u32 cookie_init_sequence(const struct tcp_request_sock_ops *ops, | |||
1743 | __u16 *mss) | 1743 | __u16 *mss) |
1744 | { | 1744 | { |
1745 | tcp_synq_overflow(sk); | 1745 | tcp_synq_overflow(sk); |
1746 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_SYNCOOKIESSENT); | 1746 | __NET_INC_STATS(sock_net(sk), LINUX_MIB_SYNCOOKIESSENT); |
1747 | return ops->cookie_init_seq(skb, mss); | 1747 | return ops->cookie_init_seq(skb, mss); |
1748 | } | 1748 | } |
1749 | #else | 1749 | #else |
@@ -1852,7 +1852,7 @@ static inline void tcp_segs_in(struct tcp_sock *tp, const struct sk_buff *skb) | |||
1852 | static inline void tcp_listendrop(const struct sock *sk) | 1852 | static inline void tcp_listendrop(const struct sock *sk) |
1853 | { | 1853 | { |
1854 | atomic_inc(&((struct sock *)sk)->sk_drops); | 1854 | atomic_inc(&((struct sock *)sk)->sk_drops); |
1855 | NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_LISTENDROPS); | 1855 | __NET_INC_STATS(sock_net(sk), LINUX_MIB_LISTENDROPS); |
1856 | } | 1856 | } |
1857 | 1857 | ||
1858 | #endif /* _TCP_H */ | 1858 | #endif /* _TCP_H */ |