diff options
author | Logan Gunthorpe <[email protected]> | 2019-12-16 12:01:17 -0700 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2019-12-24 10:18:32 +0530 |
commit | 686607106f1fe163f7d017561f3622f39a291de8 (patch) | |
tree | 2d5a7cc744353c15e6f89b119b58a80c5ea3d2f6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | dae7a589c18a4d979d5f14b09374e871b995ceb1 (diff) |
dmaengine: Call module_put() after device_free_chan_resources()
The module reference is taken to ensure the callbacks still exist
when they are called. If the channel holds the last reference to the
module, the module can disappear before device_free_chan_resources() is
called and would cause a call into free'd memory.
Signed-off-by: Logan Gunthorpe <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions