commit | 70670444c20a10717acdc1f4c1e420852995496d | [log] [tgz] |
---|---|---|
author | Rusty Russell <rusty@rustcorp.com.au> | Thu Mar 13 11:23:40 2014 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Thu Mar 13 11:27:57 2014 +1030 |
tree | e3204dac6bc05ab60836ae34695c948ea718be51 | |
parent | 9914a766174d50eb2343f204fef3ee23dbe07c4c [diff] |
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>