aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-10-08 14:09:27 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-08 14:09:27 -0400
commit483a47d2fe794328d29950fe00ce26dd405d9437 (patch)
tree44a6daeb0ca377a733a1c8fcca44663ae8fd7811 /include/net
parent3bd653c8455bc7991bae77968702b31c8f5df883 (diff)
ipv6: added net argument to IP6_INC_STATS_BH
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/ipv6.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index 26c17988b905..e7732d3a3f92 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -131,7 +131,8 @@ DECLARE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
131 131
132#define IP6_INC_STATS(net, idev,field) ({ (void)(net); \ 132#define IP6_INC_STATS(net, idev,field) ({ (void)(net); \
133 _DEVINC(ipv6, , idev, field); }) 133 _DEVINC(ipv6, , idev, field); })
134#define IP6_INC_STATS_BH(idev,field) _DEVINC(ipv6, _BH, idev, field) 134#define IP6_INC_STATS_BH(net, idev,field) ({ (void)(net); \
135 _DEVINC(ipv6, _BH, idev, field); })
135#define IP6_ADD_STATS_BH(idev,field,val) _DEVADD(ipv6, _BH, idev, field, val) 136#define IP6_ADD_STATS_BH(idev,field,val) _DEVADD(ipv6, _BH, idev, field, val)
136 137
137DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics); 138DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics);