From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] lpm: fix index of tbl8 Date: Mon, 19 Jun 2017 12:25:17 +0100 Message-ID: <20170619112517.GA84972@bricha3-MOBL3.ger.corp.intel.com> References: <1497845678-7643-1-git-send-email-wei.dai@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, jianwei.ma@intel.com, stable@dpdk.org To: Wei Dai Return-path: Content-Disposition: inline In-Reply-To: <1497845678-7643-1-git-send-email-wei.dai@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" 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