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: [email protected]
Signed-off-by: Kevin Traynor <[email protected]>
---
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