]> git.baikalelectronics.ru Git - kernel.git/commit
md: raid10: fix use-after-free of bio
authorMaik Hampel <m.hampel@gmx.de>
Tue, 31 Jul 2007 07:37:57 +0000 (00:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 31 Jul 2007 22:39:38 +0000 (15:39 -0700)
commitddfcc43c70d79f567d420283139a268140c26184
tree530c21e7a5c7fa890193765f235dd9360fc54eed
parent119ddad505f819fb6b70996206aa8c0c74b12a7e
md: raid10: fix use-after-free of bio

In case of read errors raid10d tries to print a nice error message,
unfortunately using data from an already put bio.

Signed-off-by: Maik Hampel <m.hampel@gmx.de>
Acked-By: NeilBrown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/raid10.c