aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-internal.h
diff options
context:
space:
mode:
authorRoger Pau Monne <[email protected]>2012-12-04 15:21:53 +0100
committerKonrad Rzeszutek Wilk <[email protected]>2012-12-17 21:55:56 -0500
commitebb351cf78ee6bf3262e6b4b6906f456c05e6d5e (patch)
tree103c6133d51f266b16c8b6f71fddf4992c57dc8f /lib/mpi/mpi-internal.h
parent7dc341175af5e7361af81499ea192c7b274b6357 (diff)
llist/xen-blkfront: implement safe version of llist_for_each_entry
Implement a safe version of llist_for_each_entry, and use it in blkif_free. Previously grants where freed while iterating the list, which lead to dereferences when trying to fetch the next item. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Roger Pau MonnĂ© <[email protected]> Acked-by: Andrew Morton <[email protected]> [v2: Move the llist_for_each_entry_safe in llist.h] Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions