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

Ferruh Yigit ferruh.yigit at intel.com
Mon Feb 5 19:52:00 CET 2018


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.matz at 6wind.com
> 
> Signed-off-by: David C Harton <dharton at cisco.com>

[1] Signed-off-by: David Harton <dharton at cisco.com>

Reviewed-by: Olivier Matz <olivier.matz at 6wind.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>

Applied to dpdk-next-net/master, thanks.


[1]
Hi David,

Since your previous commits has "David Harton" name, to prevent seen as a new
person, I kept same name, fyi.


More information about the dev mailing list