git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c021eac
)
virtio: Initialize vq->data entries to NULL
author
Amit Shah
<amit.shah@redhat.com>
Fri, 12 Feb 2010 05:02:14 +0000
(10:32 +0530)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Wed, 24 Feb 2010 03:52:29 +0000
(14:22 +1030)
vq operations depend on vq->data[i] being NULL to figure out if the vq
entry is in use (since the previous patch).
We have to initialize them to NULL to ensure we don't work with junk
data and trigger false BUG_ONs.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Shirley Ma <xma@us.ibm.com>
No differences found