diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 01:53:40 +0100 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 01:57:57 +0100 |
commit | 70670444c20a10717acdc1f4c1e420852995496d (patch) | |
tree | e3204dac6bc05ab60836ae34695c948ea718be51 /scripts/mkversion | |
parent | virtio-rng: don't crash if virtqueue is broken. (diff) | |
download | linux-70670444c20a10717acdc1f4c1e420852995496d.tar.xz linux-70670444c20a10717acdc1f4c1e420852995496d.zip |
virtio: fail adding buffer on broken queues.
Heinz points out that adding buffers to a broken virtqueue (which
should "never happen") still works. Failing allows drivers to detect
and complain about broken devices.
Now drivers are robust, we can add this extra check.
Reported-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts/mkversion')
0 files changed, 0 insertions, 0 deletions