aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ipv6.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/ipv6.h')
-rw-r--r--include/net/ipv6.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h
index e4170a22fc6..2d3fca37c6a 100644
--- a/include/net/ipv6.h
+++ b/include/net/ipv6.h
@@ -345,7 +345,7 @@ static inline int ipv6_addr_equal(const struct in6_addr *a1,
345static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2, 345static inline int __ipv6_prefix_equal(const __be32 *a1, const __be32 *a2,
346 unsigned int prefixlen) 346 unsigned int prefixlen)
347{ 347{
348 unsigned pdw, pbi; 348 unsigned int pdw, pbi;
349 349
350 /* check complete u32 in prefix */ 350 /* check complete u32 in prefix */
351 pdw = prefixlen >> 5; 351 pdw = prefixlen >> 5;