um: Fix initialization of vector queues
authorAnton Ivanov <anton.ivanov@cambridgegreys.com>
Tue, 5 Jun 2018 08:27:30 +0000 (09:27 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 10 Jun 2018 20:50:13 +0000 (22:50 +0200)
commit4579a1ba692af81da7ea6ce197f8169ddc0c327f
tree4eeafbb5943de9e6cdb3c4360363ad88ba131268
parentcca76c1ad61d08097af5a691195f9a42d72e978f
um: Fix initialization of vector queues

UML vector drivers could derefence uninitialized memory
when cleaning up after a queue allocation failure.

Fixes: 49da7e64f33e ("High Performance UML Vector Network Driver")
Cc: <stable@vger.kernel.org>
Reported-by: Dan Capenter <dan.carpenter@oracle.com>
Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/vector_kern.c