diff options
-rw-r--r-- | include/net/ipv6.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/ipv6.h b/include/net/ipv6.h index 51a068ad064b..464c6f70eca1 100644 --- a/include/net/ipv6.h +++ b/include/net/ipv6.h | |||
@@ -404,7 +404,7 @@ static inline bool __ipv6_prefix_equal64_half(const __be64 *a1, | |||
404 | const __be64 *a2, | 404 | const __be64 *a2, |
405 | unsigned int len) | 405 | unsigned int len) |
406 | { | 406 | { |
407 | if (len && ((*a1 ^ *a2) & cpu_to_be64(~0UL) << (64 - len))) | 407 | if (len && ((*a1 ^ *a2) & cpu_to_be64((~0UL) << (64 - len)))) |
408 | return false; | 408 | return false; |
409 | return true; | 409 | return true; |
410 | } | 410 | } |