]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] ide-scsi: kmap scatter/gather before doing PIO
authorStuart Hayes <Stuart_Hayes@dell.com>
Thu, 26 May 2005 13:38:45 +0000 (15:38 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
Thu, 26 May 2005 13:38:45 +0000 (15:38 +0200)
commit3669680011bb14e5ae2820b503aa835edd386241
treecfaeeca6836443ee680e38273cb4f7ae94c023b2
parent7b2615115a3f6de99b18be0a9ee88639aeea4bb1
[PATCH] ide-scsi: kmap scatter/gather before doing PIO

From: Stuart Hayes <Stuart_Hayes@dell.com>

The system can panic with a null pointer dereference using ide-scsi if
PIO is being done on scatter gather pages that are in high memory,
because page_address() returns 0.  We are actually seeing this using a
tape drive.  This patch will kmap_atomic() the pages before performing
PIO.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@elka.pw.edu.pl>
drivers/scsi/ide-scsi.c