From mboxrd@z Thu Jan 1 00:00:00 1970 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) 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 To: Sergey Balabanov 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: References: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 > > 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.