ide-cd: Do not access completed requests in the irq handler
authorBorislav Petkov <bp@alien8.de>
Tue, 6 Jul 2010 04:23:52 +0000 (21:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Aug 2010 10:17:49 +0000 (03:17 -0700)
ide_cd_error_cmd() can complete an erroneous request with leftover
buffers. Signal this with its return value so that the request is not
accessed after its completion in the irq handler and we oops.

Cc: <stable@kernel.org> # 32.x 33.x 34.x
Signed-off-by: Borislav Petkov <bp@alien8.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found