From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
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 <dev@dpdk.org>; Mon, 10 Aug 2015 01:56:18 +0200 (CEST)
Received: by wijp15 with SMTP id p15so115855243wij.0
 for <dev@dpdk.org>; Sun, 09 Aug 2015 16:56:18 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:date:message-id:organization
 :user-agent:in-reply-to:references:mime-version
 :content-transfer-encoding:content-type;
 bh=LG6y98GlZ9cb68yljyKxlqq95YXjnfqcnYaFyfYYe/M=;
 b=DruIr8OCIT5d43L7rz983OC37FI6Ma4lhBKQCnH79Lgsnu128CW7RBFt9hYtgTSGE0
 EhbI22QF5XbDKNNfZWiX+TL1+HitkjjA4MjkmuyC4prS/JoQczDNlxsmqrq2jCZlomTu
 L+PEF6elSbiOMdc+krebCHZMQ8QAo++6YXfK4n60ryO3OmcWwbs/aRaB31Jfr2/pSTN4
 ZKYLU7zwpNAxJnzuXYqMUY6ww3YCBuk7UBNo2N0UZStYD1H9ke4jS7jCAb9khHpoHDlk
 imRYHFzbcRr5+NJkvdemBKS/lkQ5zFwRgxFwwQwnBa5i1kNWnKoaYScJwu53dcozqVE/
 xNRg==
X-Gm-Message-State: ALoCoQlLFlO8xLs3We+XwAnLEKGyJ5ZNd9C+jf+ada3KN2EoDxCQLjq8+ncYSyQOoepB9yg9+uUl
X-Received: by 10.180.182.33 with SMTP id eb1mr18394946wic.8.1439164578359;
 Sun, 09 Aug 2015 16:56:18 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by smtp.gmail.com with ESMTPSA id g16sm10287546wiw.17.2015.08.09.16.56.16
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Sun, 09 Aug 2015 16:56:17 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Sergey Balabanov <balabanovsv@ecotelecom.ru>
Date: Mon, 10 Aug 2015 01:55:03 +0200
Message-ID: <3560643.E1x9YnZxBH@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; )
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8973C7D9643@IRSMSX108.ger.corp.intel.com>
References: <E115CCD9D858EF4F90C690B0DCB4D8973C7D9643@IRSMSX108.ger.corp.intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] bonding: 8023ad: fix incorrect typecast
	of socket
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Aug 2015 23:56:18 -0000

> > 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 <balabanovsv@ecotelecom.ru>
> 
> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

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.