On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_cleanup, drv = container_of(dev->device.driver) returns !NULL,
> >
Hi, David
On Wed, 19 Oct 2022 at 19:39, David Marchand wrote:
>
> On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
> >
> > The vdev_probe calls driver->probe, which may fail
> > and dev->device.driver will still be NULL.
> >
> > In vdev_cleanup, drv = container_of(dev->device.driver) returns
On Wed, Oct 19, 2022 at 12:55 PM Zhangfei Gao wrote:
>
> The vdev_probe calls driver->probe, which may fail
> and dev->device.driver will still be NULL.
>
> In vdev_cleanup, drv = container_of(dev->device.driver) returns !NULL,
> then drv->remove will trigger Segmentation fault.
> Fix it by checki
The vdev_probe calls driver->probe, which may fail
and dev->device.driver will still be NULL.
In vdev_cleanup, drv = container_of(dev->device.driver) returns !NULL,
then drv->remove will trigger Segmentation fault.
Fix it by checking dev->device.driver first.
Log:
Thread 1 "dpdk-test" received si
4 matches
Mail list logo