[PATCH 1/1] vhost: add NULL callback checks
Maxime Coquelin
maxime.coquelin at redhat.com
Fri Feb 7 15:11:45 CET 2025
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 at dpdk.org
>
> Signed-off-by: Kevin Traynor <ktraynor at 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
More information about the stable
mailing list