[<prev] [next>] [day] [month] [year] [list]
Message-ID: <5aebf4d1-9da1-a970-71d7-98b5cc7d77fa@gmail.com>
Date: Fri, 17 Aug 2018 19:21:03 -0600
From: David Ahern <dsahern@...il.com>
To: "Md. Islam" <mislam4@...t.edu>, kuznet@....inr.ac.ru,
David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>,
Stephen Hemminger <stephen@...workplumber.org>,
Jesper Dangaard Brouer <brouer@...hat.com>
Subject: Re: Bug in FIB insert
On 8/16/18 6:59 PM, Md. Islam wrote:
> There is a bug in fib_table_insert(). If I add following routes,
>
> 23.20.0.0/14 <http://23.20.0.0/14> veth1
> 23.20.0.0/15 <http://23.20.0.0/15> veth2
>
> FIB lookup on 23.22.111.212 results veth1, not veth2.
>
veth1 is the correct lookup response. '22' toggles the 15th bit which
means the compare to 23.20/15 fails.
Powered by blists - more mailing lists