summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-01 13:56:03 +0200
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-07-10 00:07:47 +0200
commit332ef3310bc37ff29fd4382d6dfb38a787078091 (patch)
tree63313482ee19fffea5900bacf52c1c660528f72a /drivers/macintosh
parentfirewire: fw-sbp2: correctly align page tables (diff)
downloadlinux-332ef3310bc37ff29fd4382d6dfb38a787078091.tar.xz
linux-332ef3310bc37ff29fd4382d6dfb38a787078091.zip
firewire: fw-sbp2: add a boundary check
Add rudimentary check for the case that the page table overflows due to merging of s/g elements by the IOMMU. This would have lead to overwriting of arbitrary memory. After this change I expect that an offending command will be unsuccessfully retried until the scsi_device is taken offline by SCSI core. It's a border case and not worth to implement a recovery strategy. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: Kristian Høgsberg <krh@redhat.com>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions