]> Pileus Git - ~andy/linux/commit
firewire: core: allocate the low memory region
authorClemens Ladisch <clemens@ladisch.de>
Thu, 24 May 2012 17:28:58 +0000 (19:28 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 27 May 2012 10:31:11 +0000 (12:31 +0200)
commitf07d42ac7f2a7d650125d0cd7a79631c4522edaf
tree6fb088bc61544d23e8c7eb0d800129c3664cf7f4
parent188726ecb66f022e92ec110ca85c62a937184636
firewire: core: allocate the low memory region

Prevent userspace applications from allocating low memory address
ranges.  Otherwise, if some application happens to allocate such
a range and intends for a remote node to access it, and if that node
also implements SBP-2 (which will become more likely with the upcoming
SBP-2 target support), these accesses would be routed by the physical
DMA unit to some wrong memory address.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/firewire/core-transaction.c