From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <bruce.richardson@intel.com>
Received: from mga03.intel.com (mga03.intel.com [134.134.136.65])
 by dpdk.org (Postfix) with ESMTP id 4880E374;
 Mon, 19 Jun 2017 13:25:21 +0200 (CEST)
Received: from orsmga003.jf.intel.com ([10.7.209.27])
 by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 19 Jun 2017 04:25:20 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.39,360,1493708400"; d="scan'208";a="982558728"
Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.28])
 by orsmga003.jf.intel.com with SMTP; 19 Jun 2017 04:25:18 -0700
Received: by  (sSMTP sendmail emulation); Mon, 19 Jun 2017 12:25:18 +0100
Date: Mon, 19 Jun 2017 12:25:17 +0100
From: Bruce Richardson <bruce.richardson@intel.com>
To: Wei Dai <wei.dai@intel.com>
Cc: dev@dpdk.org, jianwei.ma@intel.com, stable@dpdk.org
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
Content-Disposition: inline
In-Reply-To: <1497845678-7643-1-git-send-email-wei.dai@intel.com>
Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?=
 =?iso-8859-1?Q?opment?= Ireland Ltd.
User-Agent: Mutt/1.8.1 (2017-04-11)
Subject: Re: [dpdk-stable] [PATCH] lpm: fix index of tbl8
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 19 Jun 2017 11:25:22 -0000

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 <wei.dai@intel.com>

Acked-by: Bruce Richardson <bruce.richardson@intel.com>