Skip to content
Snippets Groups Projects
Commit 512613d7 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by David S. Miller
Browse files

ipv6: fix ipv6_prefix_equal64_half mask conversion


Fix the 64bit optimized version of ipv6_prefix_equal to convert the
bitmask to network byte order only after the bit-shift.

The bug was introduced in:

38675170 ipv6: 64bit version of ipv6_prefix_equal().

Signed-off-by: default avatarFabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c2a93660
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment