Files
linux/drivers
Michael S. Tsirkin 1861ba626a virtio_ring: mark ring unused on error
A recently added error path does not mark ring unused when exiting on
OOM, which will lead to BUG on the next entry in debug builds.

TODO: refactor code so we have START_USE and END_USE in the same function.

Fixes: fc6d70f40b ("virtio_ring: check desc == NULL when using indirect with packed")
Cc: "Xuan Zhuo" <xuanzhuo@linux.alibaba.com>
Cc: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2022-01-14 18:50:53 -05:00
..
2021-11-26 19:45:31 +01:00
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2021-12-13 13:18:48 +05:30
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2021-10-26 19:12:01 +02:00
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2021-10-18 09:29:27 +02:00
2022-01-14 18:50:52 -05:00
2022-01-14 18:50:52 -05:00
2021-11-30 11:41:49 -07:00
2021-12-08 14:53:15 -05:00