From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] lpm: fix index of tbl8 Date: Mon, 19 Jun 2017 23:26:17 +0200 Message-ID: <2478963.3r9XuQtC00@xps> References: <1497845678-7643-1-git-send-email-wei.dai@intel.com> <20170619112517.GA84972@bricha3-MOBL3.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson , jianwei.ma@intel.com, stable@dpdk.org To: Wei Dai Return-path: In-Reply-To: <20170619112517.GA84972@bricha3-MOBL3.ger.corp.intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/06/2017 13:25, Bruce Richardson: > On Mon, Jun 19, 2017 at 12:14:38PM +0800, Wei Dai wrote: > > From v20 to v1604, number of tlb8 can be up to 1<<24, > > (uint8_t) or (uint16_t) may truncate the number of > > index of tlb8 in v1604 and cause wrong number. > > > > Fixes: dc81ebbacaeb ("lpm: extend IPv4 next hop field") > > Cc: stable@dpdk.org > > > > Signed-off-by: Wei Dai > > Acked-by: Bruce Richardson Applied, thanks