diff options
author | 2019-05-06 15:28:29 +0800 | |
---|---|---|
committer | 2019-05-21 19:23:54 +0530 | |
commit | 58152b0e573e5581c4b9ef7cf06d2e9fafae27d4 (patch) | |
tree | 43e0a9a3f5abe71c40a6fc86b06239646e383f4c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: sprd: Fix the possible crash when getting descriptor status (diff) | |
download | wireguard-linux-58152b0e573e5581c4b9ef7cf06d2e9fafae27d4.tar.xz wireguard-linux-58152b0e573e5581c4b9ef7cf06d2e9fafae27d4.zip |
dmaengine: sprd: Add validation of current descriptor in irq handler
When user terminates one DMA channel to free all its descriptors, but
at the same time one transaction interrupt was triggered possibly, now
we should not handle this interrupt by validating if the 'schan->cur_desc'
was set as NULL to avoid crashing the kernel.
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions