diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-09-22 11:32:25 +0200 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-09-26 10:36:50 +0200 |
commit | d8e89b47e00ee80e920761145144640aac4cf71a (patch) | |
tree | f3d0bd7bf530fe56dc6fba2f7701f0e6b82795d3 /arch/arm/plat-orion | |
parent | ARM: fix vmlinux.lds.S discarding sections (diff) | |
download | linux-d8e89b47e00ee80e920761145144640aac4cf71a.tar.xz linux-d8e89b47e00ee80e920761145144640aac4cf71a.zip |
ARM: dma-mapping: free allocated page if unable to map
If the attempt to map a page for DMA fails (eg, because we're out of
mapping space) then we must not hold on to the page we allocated for
DMA - doing so will result in a memory leak.
Cc: <stable@kernel.org>
Reported-by: Bryan Phillippe <bp@darkforest.org>
Tested-by: Bryan Phillippe <bp@darkforest.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-orion')
0 files changed, 0 insertions, 0 deletions