On Mon, Jul 22, 2024 at 5:43 PM Mike Pattrick <m...@redhat.com> wrote:
>
> Currently it is possible to call netdev-dpdk/get-mempool-info before a
> mempool as been created. This can happen because a device is added to
> the netdev_shash before a mempool is allocated for it, which results in
> a segmentation fault.
>
> Now we check for a NULL value before attempting to dereference it.
>
> Fixes: be4817331071 ("netdev-dpdk: Add debug appctl to get mempool 
> information.")
> Signed-off-by: Mike Pattrick <m...@redhat.com>
> ---

I'll resubmit this with a unit test.

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to