Re: [dpdk-dev] [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs

2018-02-05 Thread Ferruh Yigit
On 2/3/2018 2:55 PM, David C Harton wrote: > virtio_dev_free_mbufs was recently modified to free the > virtqueues but failed to check whether the array was > allocated. Added a check to ensure vqs was non-null. > > Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing") > Cc: olivier.m...@

Re: [dpdk-dev] [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs

2018-02-05 Thread Maxime Coquelin
On 02/03/2018 03:55 PM, David C Harton wrote: virtio_dev_free_mbufs was recently modified to free the virtqueues but failed to check whether the array was allocated. Added a check to ensure vqs was non-null. Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing") Cc: olivier.m...@6wind

Re: [dpdk-dev] [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs

2018-02-05 Thread Olivier Matz
On Sat, Feb 03, 2018 at 09:55:23AM -0500, David C Harton wrote: > virtio_dev_free_mbufs was recently modified to free the > virtqueues but failed to check whether the array was > allocated. Added a check to ensure vqs was non-null. > > Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing"

[dpdk-dev] [PATCH] net/virtio: Fix crash in virtio_dev_free_mbufs

2018-02-03 Thread David C Harton
virtio_dev_free_mbufs was recently modified to free the virtqueues but failed to check whether the array was allocated. Added a check to ensure vqs was non-null. Fixes: bdb32afbb610 ("net/virtio: rationalize queue flushing") Cc: olivier.m...@6wind.com Signed-off-by: David C Harton --- drivers/