summaryrefslogtreecommitdiff
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-10-08 11:09:27 -0700
committerDavid S. Miller <davem@davemloft.net>2008-10-08 11:09:27 -0700
commit483a47d2fe794328d29950fe00ce26dd405d9437 (patch)
tree44a6daeb0ca377a733a1c8fcca44663ae8fd7811 /include/net/ipv6.h
parent3bd653c8455bc7991bae77968702b31c8f5df883 (diff)
downloadlinux-3.10-483a47d2fe794328d29950fe00ce26dd405d9437.tar.gz
linux-3.10-483a47d2fe794328d29950fe00ce26dd405d9437.tar.bz2
linux-3.10-483a47d2fe794328d29950fe00ce26dd405d9437.zip
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/ipv6.h')
-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 26c17988b90..e7732d3a3f9 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -131,7 +131,8 @@ DECLARE_SNMP_STAT(struct ipstats_mib, ipv6_statistics);
#define IP6_INC_STATS(net, idev,field) ({ (void)(net); \
_DEVINC(ipv6, , idev, field); })
-#define IP6_INC_STATS_BH(idev,field) _DEVINC(ipv6, _BH, idev, field)
+#define IP6_INC_STATS_BH(net, idev,field) ({ (void)(net); \
+ _DEVINC(ipv6, _BH, idev, field); })
#define IP6_ADD_STATS_BH(idev,field,val) _DEVADD(ipv6, _BH, idev, field, val)
DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics);