projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
async_tx: fix the bug in async_tx_run_dependencies
[deliverable/linux.git]
/
crypto
/
async_tx
/
async_tx.c
diff --git
a/crypto/async_tx/async_tx.c
b/crypto/async_tx/async_tx.c
index 85eaf7b1c53153ef07bdc33efa3a9d9c6cdff839..e8362c1efa309f8e0242a255235650d953aeca51 100644
(file)
--- a/
crypto/async_tx/async_tx.c
+++ b/
crypto/async_tx/async_tx.c
@@
-137,7
+137,8
@@
async_tx_run_dependencies(struct dma_async_tx_descriptor *tx)
spin_lock_bh(&next->lock);
next->parent = NULL;
_next = next->next;
spin_lock_bh(&next->lock);
next->parent = NULL;
_next = next->next;
- next->next = NULL;
+ if (_next && _next->chan == chan)
+ next->next = NULL;
spin_unlock_bh(&next->lock);
next->tx_submit(next);
spin_unlock_bh(&next->lock);
next->tx_submit(next);
This page took
0.034851 seconds
and
5
git commands to generate.