diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 11:23:40 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2014-03-13 11:27:57 +1030 |
commit | 70670444c20a10717acdc1f4c1e420852995496d (patch) | |
tree | e3204dac6bc05ab60836ae34695c948ea718be51 /Documentation/atomic_ops.txt | |
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>
Diffstat (limited to 'Documentation/atomic_ops.txt')
0 files changed, 0 insertions, 0 deletions