[dpdk-dev] [PATCH] virtio: fix crash if CQ is not negotiated

2015-06-12 Thread Thomas Monjalon
> > Fix NULL dereference if virtio control queue is not negotiated. > > > > Signed-off-by: Damjan Marion > > This is good belt and suspenders thing to have, but did you see early > patches to check the feature bits and not call this code? > > Acked-by: Stephen Hemminger Applied, thanks

[dpdk-dev] [PATCH] virtio: fix crash if CQ is not negotiated

2015-05-26 Thread Stephen Hemminger
On Mon, 25 May 2015 12:20:52 +0200 Damjan Marion wrote: > Fix NULL dereference if virtio control queue is not negotiated. > > Signed-off-by: Damjan Marion This is good belt and suspenders thing to have, but did you see early patches to check the feature bits and not call this code? Acked-by:

[dpdk-dev] [PATCH] virtio: fix crash if CQ is not negotiated

2015-05-25 Thread Damjan Marion
Fix NULL dereference if virtio control queue is not negotiated. Signed-off-by: Damjan Marion --- drivers/net/virtio/virtio_ethdev.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index f74e413..363