From: Paul Durrant <xadimgnik@gmail.com>
To: David Kahurani <k.kahurani@gmail.com>, xen-devel@lists.xenproject.org
Cc: netdev@vger.kernel.org, wei.liu@kernel.org
Subject: Re: [PATCH] net/xen-netback: Break build if netback slots > max_skbs + 1
Date: Wed, 27 Sep 2023 10:42:56 +0100 [thread overview]
Message-ID: <646b31b4-2fd6-4bff-ae6b-1b35626533c0@xen.org> (raw)
In-Reply-To: <20230927082918.197030-1-k.kahurani@gmail.com>
On 27/09/2023 09:29, David Kahurani wrote:
> If XEN_NETBK_LEGACY_SLOTS_MAX and MAX_SKB_FRAGS have a difference of
> more than 1, with MAX_SKB_FRAGS being the lesser value, it opens up a
> path for null-dereference. It was also noted that some distributions
> were modifying upstream behaviour in that direction which necessitates
> this patch.
>
> Signed-off-by: David Kahurani <k.kahurani@gmail.com>
Acked-by: Paul Durrant <paul@xen.org>
next prev parent reply other threads:[~2023-09-27 9:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-27 8:29 [PATCH] net/xen-netback: Break build if netback slots > max_skbs + 1 David Kahurani
2023-09-27 9:42 ` Paul Durrant [this message]
2023-10-04 18:47 ` Jakub Kicinski
2023-10-05 15:39 ` David Kahurani
2023-10-05 16:03 ` Jakub Kicinski
2023-10-05 16:24 ` David Kahurani
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=646b31b4-2fd6-4bff-ae6b-1b35626533c0@xen.org \
--to=xadimgnik@gmail.com \
--cc=k.kahurani@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=paul@xen.org \
--cc=wei.liu@kernel.org \
--cc=xen-devel@lists.xenproject.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).