From: Alexander Duyck <adu...@mirantis.com> Date: Thu, 28 Jan 2016 13:42:24 -0800
> The fib_table_lookup function had a shift by 32 that triggered a UBSAN > warning. This was due to the fact that I had placed the shift first and > then followed it with the check for the suffix length to ignore the > undefined behavior. If we reorder this so that we verify the suffix is > less than 32 before shifting the value we can avoid the issue. > > Reported-by: Toralf Förster <toralf.foers...@gmx.de> > Signed-off-by: Alexander Duyck <adu...@mirantis.com> Applied.