DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Sergey Balabanov <balabanovsv@ecotelecom.ru>
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2] bonding: 8023ad: fix incorrect typecast of socket
Date: Mon, 10 Aug 2015 01:55:03 +0200	[thread overview]
Message-ID: <3560643.E1x9YnZxBH@xps13> (raw)
In-Reply-To: <E115CCD9D858EF4F90C690B0DCB4D8973C7D9643@IRSMSX108.ger.corp.intel.com>

> > 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.

      reply	other threads:[~2015-08-09 23:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bonding: 8023ad: fix incorrect typecast of socket>
2015-08-07  9:33 ` Sergey Balabanov
2015-08-07  9:38   ` De Lara Guarch, Pablo
2015-08-09 23:55     ` Thomas Monjalon [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3560643.E1x9YnZxBH@xps13 \
    --to=thomas.monjalon@6wind.com \
    --cc=balabanovsv@ecotelecom.ru \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).