patches for DPDK stable branches
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@redhat.com>
To: Vladimir Medvedkin <vladimir.medvedkin@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [PATCH] fib: fix vector lookup
Date: Mon, 14 Oct 2024 19:01:22 +0200	[thread overview]
Message-ID: <CAJFAV8y=15ZGrzwdPjC1Ac4WFw5vfTfWc39FY0_Jp6HtfTy_+g@mail.gmail.com> (raw)
In-Reply-To: <20240906170436.1324677-1-vladimir.medvedkin@intel.com>

On Fri, Sep 6, 2024 at 7:04 PM Vladimir Medvedkin
<vladimir.medvedkin@intel.com> wrote:
>
> Vector lookup uses gather instructions which loads data in 4byte chunks.
> This could lead to out of bounds access at the end of the tbl24 in case
> of 1 or 2 byte entries if e.g. lookup is attempted for 255.255.255.255
> in IPv4 case.
> This patch fixes potential out of bound access by gather instruction
> allocating an extra 4 byte in the end of the tbl24.
>
> Fixes: 7dc7868b200d ("fib: add DIR24-8 dataplane algorithm")
> Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")
> Cc: stable@dpdk.org
>
> Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin@intel.com>

Applied, thanks.


-- 
David Marchand


      reply	other threads:[~2024-10-14 17:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-06 17:04 Vladimir Medvedkin
2024-10-14 17:01 ` David Marchand [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='CAJFAV8y=15ZGrzwdPjC1Ac4WFw5vfTfWc39FY0_Jp6HtfTy_+g@mail.gmail.com' \
    --to=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=stable@dpdk.org \
    --cc=vladimir.medvedkin@intel.com \
    /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).