diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-06 00:19:20 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-06 00:19:20 -0400 |
commit | 235b9f7ac53489011d32efeb89e12e308fdd2c64 (patch) | |
tree | 8e808aa14ba4950a8a4e11f2e9386a0be867023d /include/net/udp.h | |
parent | 0283328e2360bbf3081e97f1b720dd4c4dbae111 (diff) |
MIB: add struct net to UDP6_INC_STATS_USER
As simple as the patch #1 in this set.
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Acked-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/udp.h')
-rw-r--r-- | include/net/udp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/udp.h b/include/net/udp.h index 7b18cfb2fe0b..bb5b9ec85638 100644 --- a/include/net/udp.h +++ b/include/net/udp.h | |||
@@ -168,7 +168,7 @@ DECLARE_SNMP_STAT(struct udp_mib, udplite_stats_in6); | |||
168 | #define UDP6_INC_STATS_BH(field, is_udplite) do { \ | 168 | #define UDP6_INC_STATS_BH(field, is_udplite) do { \ |
169 | if (is_udplite) SNMP_INC_STATS_BH(udplite_stats_in6, field); \ | 169 | if (is_udplite) SNMP_INC_STATS_BH(udplite_stats_in6, field); \ |
170 | else SNMP_INC_STATS_BH(udp_stats_in6, field); } while(0) | 170 | else SNMP_INC_STATS_BH(udp_stats_in6, field); } while(0) |
171 | #define UDP6_INC_STATS_USER(field, is_udplite) do { \ | 171 | #define UDP6_INC_STATS_USER(net, field, is_udplite) do { (void)net; \ |
172 | if (is_udplite) SNMP_INC_STATS_USER(udplite_stats_in6, field); \ | 172 | if (is_udplite) SNMP_INC_STATS_USER(udplite_stats_in6, field); \ |
173 | else SNMP_INC_STATS_USER(udp_stats_in6, field); } while(0) | 173 | else SNMP_INC_STATS_USER(udp_stats_in6, field); } while(0) |
174 | 174 | ||