From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: Kevin Traynor <ktraynor@redhat.com>, dev@dpdk.org
Cc: stable@dpdk.org
Subject: Re: [PATCH 1/1] vhost: add NULL callback checks
Date: Fri, 7 Feb 2025 15:11:45 +0100 [thread overview]
Message-ID: <d471422d-0e9c-476c-bd06-5e88fb3dc8e2@redhat.com> (raw)
In-Reply-To: <20250124141408.419674-2-ktraynor@redhat.com>
On 1/24/25 3:14 PM, Kevin Traynor wrote:
> rte_vhost_driver_callback_register() does not specify
> any mandatory callbacks in struct rte_vhost_device_ops.
>
> Add some missing NULL checks before calling rte_vhost_device_ops
> callbacks.
>
> Fixes: 4796ad63ba1f ("examples/vhost: import userspace vhost application")
> Cc: stable@dpdk.org
>
> Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
> ---
> lib/vhost/vduse.c | 3 ++-
> lib/vhost/vhost.c | 5 +++--
> lib/vhost/vhost_user.c | 3 ++-
> 3 files changed, 7 insertions(+), 4 deletions(-
Applied to next-virtio/for-next-net.
Thanks,
Maxime
prev parent reply other threads:[~2025-02-07 14:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-24 14:14 [PATCH 0/1] vhost: " Kevin Traynor
2025-01-24 14:14 ` [PATCH 1/1] vhost: add " Kevin Traynor
2025-02-07 13:32 ` Maxime Coquelin
2025-02-07 14:11 ` Maxime Coquelin [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=d471422d-0e9c-476c-bd06-5e88fb3dc8e2@redhat.com \
--to=maxime.coquelin@redhat.com \
--cc=dev@dpdk.org \
--cc=ktraynor@redhat.com \
--cc=stable@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).