diff options
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 ac0487bab8b1..744fe7443cb9 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -139,7 +139,8 @@ DECLARE_SNMP_STAT(struct ipstats_mib, ipv6_statistics); | |||
139 | DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics); | 139 | DECLARE_SNMP_STAT(struct icmpv6_mib, icmpv6_statistics); |
140 | DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); | 140 | DECLARE_SNMP_STAT(struct icmpv6msg_mib, icmpv6msg_statistics); |
141 | 141 | ||
142 | #define ICMP6_INC_STATS(idev, field) _DEVINC(icmpv6, , idev, field) | 142 | #define ICMP6_INC_STATS(net, idev, field) ({ (void)(net); \ |
143 | _DEVINC(icmpv6, , idev, field); }) | ||
143 | #define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field) | 144 | #define ICMP6_INC_STATS_BH(idev, field) _DEVINC(icmpv6, _BH, idev, field) |
144 | 145 | ||
145 | #define ICMP6MSGOUT_INC_STATS(idev, field) \ | 146 | #define ICMP6MSGOUT_INC_STATS(idev, field) \ |