diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-16 23:22:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 23:22:25 -0400 |
commit | 63231bddf6514778792d3784f63822473d250fc0 (patch) | |
tree | d380f9ca00fa0ca2cd74142c5b51b97717ef1e9a /include | |
parent | 81cc8a75d944fa39fc333c2c329c8e8b3c62cada (diff) |
mib: add net to TCP_INC_STATS_BH
Same as before - the sock is always there to get the net from,
but there are also some places with the net already saved on
the stack.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 15065157afc9..8a2cd076be82 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -267,7 +267,7 @@ extern struct proto tcp_prot; | |||
267 | 267 | ||
268 | DECLARE_SNMP_STAT(struct tcp_mib, tcp_statistics); | 268 | DECLARE_SNMP_STAT(struct tcp_mib, tcp_statistics); |
269 | #define TCP_INC_STATS(net, field) do { (void)net; SNMP_INC_STATS(tcp_statistics, field); } while (0) | 269 | #define TCP_INC_STATS(net, field) do { (void)net; SNMP_INC_STATS(tcp_statistics, field); } while (0) |
270 | #define TCP_INC_STATS_BH(field) SNMP_INC_STATS_BH(tcp_statistics, field) | 270 | #define TCP_INC_STATS_BH(net, field) do { (void)net; SNMP_INC_STATS_BH(tcp_statistics, field); } while (0) |
271 | #define TCP_DEC_STATS(field) SNMP_DEC_STATS(tcp_statistics, field) | 271 | #define TCP_DEC_STATS(field) SNMP_DEC_STATS(tcp_statistics, field) |
272 | #define TCP_ADD_STATS_USER(field, val) SNMP_ADD_STATS_USER(tcp_statistics, field, val) | 272 | #define TCP_ADD_STATS_USER(field, val) SNMP_ADD_STATS_USER(tcp_statistics, field, val) |
273 | 273 | ||