diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2014-02-13 10:39:01 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-02-17 14:06:58 +0530 |
commit | e9baa9d9d520fb0e24cca671e430689de2d4a4b2 (patch) | |
tree | 2213cad96b18839d3c86324d8937fc279bc8746c /Documentation/devicetree | |
parent | b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed (diff) | |
download | linux-stable-e9baa9d9d520fb0e24cca671e430689de2d4a4b2.tar.gz linux-stable-e9baa9d9d520fb0e24cca671e430689de2d4a4b2.tar.bz2 linux-stable-e9baa9d9d520fb0e24cca671e430689de2d4a4b2.zip |
dma: ste_dma40: don't dereference free:d descriptor
It appears that in the DMA40 driver the DMA tasklet will very
often dereference memory for a descriptor just free:d from the
DMA40 slab. Nothing happens because no other part of the driver
has yet had a chance to claim this memory, but it's really
nasty to dereference free:d memory, so let's check the flag
before the descriptor is free and store it in a bool variable.
Cc: stable@vger.kernel.org
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions