]> xenbits.xensource.com Git - people/royger/linux-2.6.18-xen.git/commit
blktap2: Fwd: Fix wild ptr deref during device destruction.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Mar 2010 09:55:54 +0000 (09:55 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Mar 2010 09:55:54 +0000 (09:55 +0000)
commit7f3d60aaffd98218c3313c1ed1021dba2c503bfd
tree9344f9765803f548c6ef36a03ffd7332fd954d10
parentb54d4a755be56f5879bd65c0e3d4d8f0e680166e
blktap2: Fwd: Fix wild ptr deref during device destruction.

A put_disk() before blk_cleanup_queue() would free gd before gd->queue
is read.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@novell.com>
drivers/xen/blktap2/device.c