Files
linux/arch/um
Benjamin Berg 4e774bf6ea um: virtio_uml: free command if adding to virtqueue failed
[ Upstream commit 8a6ca54364 ]

If adding the command fails (i.e. the virtqueue is broken) then free it
again if the function allocated a new buffer for it.

Fixes: 68f5d3f3b6 ("um: add PCI over virtio emulation driver")
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-11 13:55:22 +01:00
..
2022-09-07 16:37:27 -07:00
2022-09-07 16:37:27 -07:00
2005-09-29 08:46:26 -07:00