[dpdk-dev] [PATCH v3 02/14] bus/fslmc: fix null pointer dereference

2020-06-26 Thread Maxime Coquelin
This patches fixes a null pointer derefencing that happens when the device string passed to the iterator is NULL. This situation can happen when iterating on a class type. For example: RTE_DEV_FOREACH(dev, "class=eth", &dev_iter) { ... } Fixes: e67a61614d0b ("bus/fslmc: support device iterati

Re: [dpdk-dev] [PATCH v3 02/14] bus/fslmc: fix null pointer dereference

2020-06-26 Thread Adrian Moreno
On 6/26/20 3:27 PM, Maxime Coquelin wrote: > This patches fixes a null pointer derefencing that happens > when the device string passed to the iterator is NULL. This > situation can happen when iterating on a class type. > For example: > > RTE_DEV_FOREACH(dev, "class=eth", &dev_iter) { > ..

[dpdk-dev] [PATCH v3 02/14] bus/fslmc: fix null pointer dereference

2020-06-26 Thread Maxime Coquelin
This patches fixes a null pointer derefencing that happens when the device string passed to the iterator is NULL. This situation can happen when iterating on a class type. For example: RTE_DEV_FOREACH(dev, "class=eth", &dev_iter) { ... } Fixes: e67a61614d0b ("bus/fslmc: support device iterati