Files
linux/drivers
Alasdair G Kergon 570b9d968b dm table: fix upgrade mode race
upgrade_mode() sets bdev to NULL temporarily, and does not have any
locking to exclude anything from seeing that NULL.

In dm_table_any_congested() bdev_get_queue() can dereference that NULL and
cause a reported oops.

Fix this by not changing that field during the mode upgrade.

Cc: stable@kernel.org
Cc: Neil Brown <neilb@suse.de>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
2009-04-02 19:55:28 +01:00
..
2009-03-28 20:29:51 +00:00
2009-03-21 19:06:51 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 08:59:22 -07:00
2009-03-30 21:55:25 +10:30
2009-04-02 19:55:28 +01:00
2009-04-01 08:59:23 -07:00
2009-03-28 20:29:51 +00:00
2009-04-01 12:51:33 -07:00
2009-03-27 20:13:20 -04:00
2009-04-01 08:59:34 -07:00