From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] bonding: 8023ad: fix incorrect typecast of socket Date: Mon, 10 Aug 2015 01:55:03 +0200 Message-ID: <3560643.E1x9YnZxBH@xps13> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Sergey Balabanov Return-path: Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id 9CB172A07 for ; Mon, 10 Aug 2015 01:56:18 +0200 (CEST) Received: by wijp15 with SMTP id p15so115855243wij.0 for ; Sun, 09 Aug 2015 16:56:18 -0700 (PDT) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > On slave activation in LACP (8023AD) SOCKET_ANY_ID (which is -1) > > is being casted to unsigned char and then to signed int. > > The result is that socket_id has value of 255, not -1. > > This results to memory allocation failure. > > > > Signed-off-by: Sergey Balabanov > > Acked-by: Pablo de Lara Fixes: 46fb43683679 ("bond: add mode 4") Applied, thanks Please Sergey, do not set the status as "Accepted" yourself in patchwork. The "Accepted" status means that it has been applied. Setting it before could result in having your patch forgotten.