From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: Bug in FIB insert Date: Fri, 17 Aug 2018 19:21:03 -0600 Message-ID: <5aebf4d1-9da1-a970-71d7-98b5cc7d77fa@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit To: "Md. Islam" , kuznet@ms2.inr.ac.ru, David Miller , Netdev , Stephen Hemminger , Jesper Dangaard Brouer Return-path: Received: from mail-pl0-f54.google.com ([209.85.160.54]:33068 "EHLO mail-pl0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbeHRE0t (ORCPT ); Sat, 18 Aug 2018 00:26:49 -0400 Received: by mail-pl0-f54.google.com with SMTP id b90-v6so4453876plb.0 for ; Fri, 17 Aug 2018 18:21:07 -0700 (PDT) In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: 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     veth1 > 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.