netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Bug in FIB insert
       [not found] <CAFgPn1D2MuaX0Y-_CTno7jxcaHdM2w2cR0Vbgdjr8RVgRc=YvA@mail.gmail.com>
@ 2018-08-18  1:21 ` David Ahern
  0 siblings, 0 replies; only message in thread
From: David Ahern @ 2018-08-18  1:21 UTC (permalink / raw)
  To: Md. Islam, kuznet, David Miller, Netdev, Stephen Hemminger,
	Jesper Dangaard Brouer

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-18  4:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAFgPn1D2MuaX0Y-_CTno7jxcaHdM2w2cR0Vbgdjr8RVgRc=YvA@mail.gmail.com>
2018-08-18  1:21 ` Bug in FIB insert David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).