diff options
author | Denis V. Lunev <den@openvz.org> | 2008-10-08 13:32:43 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 14:13:31 -0400 |
commit | 821d57776d4dda47ef5f0c33fdb3c761214b2f9f (patch) | |
tree | 62d32df18aec4fa6915d0c72b60b1cec86771f56 /include | |
parent | 483a47d2fe794328d29950fe00ce26dd405d9437 (diff) |
ipv6: added net argument to IP6_ADD_STATS_BH
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ipv6.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index e7732d3a3f92..ac0487bab8b1 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -133,7 +133,8 @@ DECLARE_SNMP_STAT(struct ipstats_mib, ipv6_statistics); | |||
133 | _DEVINC(ipv6, , idev, field); }) | 133 | _DEVINC(ipv6, , idev, field); }) |
134 | #define IP6_INC_STATS_BH(net, idev,field) ({ (void)(net); \ | 134 | #define IP6_INC_STATS_BH(net, idev,field) ({ (void)(net); \ |
135 | _DEVINC(ipv6, _BH, idev, field); }) | 135 | _DEVINC(ipv6, _BH, idev, field); }) |
136 | #define IP6_ADD_STATS_BH(idev,field,val) _DEVADD(ipv6, _BH, idev, field, val) | 136 | #define IP6_ADD_STATS_BH(net, idev,field,val) ({ (void)(net); \ |
137 | _DEVADD(ipv6, _BH, idev, field, val); }) | ||
137 | 138 | ||
138 | DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics); | 139 | DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics); |
139 | DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); | 140 | DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); |