On Thu, 19 Oct 2017 13:31:28 +0200
Stefano Brivio <sbri...@redhat.com> wrote:

> On big-endian machines, functions converting between tunnel ID
> and VNI use the three LSBs of tunnel ID storage to map VNI.
> 
> The comparison function eq_tun_id_and_vni(), on the other hand,
> attempted to map the VNI from the three MSBs. Fix it by using
> the same check implemented on LE, which maps VNI from the three
> LSBs of tunnel ID.
> 
> Fixes: 2e0b26e10352 ("geneve: Optimize geneve device lookup.")
> Signed-off-by: Stefano Brivio <sbri...@redhat.com>

Thanks, Stefano.

Reviewed-by: Jakub Sitnicki <j...@redhat.com>

Reply via email to