aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDmitry Osipenko <[email protected]>2013-05-11 20:30:53 +0400
committerVinod Koul <[email protected]>2013-07-05 11:40:38 +0530
commit7bdc1e272a471062e8f310137c896e2355b46d13 (patch)
tree0ad98dbe27efd87c30faf9f481f673d2f2da6ed8 /net/unix/sysctl_net_unix.c
parentac7ae754d592571478959833796b7bdf1a3c08da (diff)
dma: tegra: avoid channel lock up after free
Lock scenario: Channel 1 was allocated and prepared as slave_sg, used and freed. Now preparation of cyclic dma on channel 1 will fail with err "DMA configuration conflict" because tdc->isr_handler still setted to handle_once_dma_done. This happens because tegra_dma_abort_all() won't be called on channel freeing if pending list is empty and channel not busy. We need to clear isr_handler on channel freeing to avoid locking. Signed-off-by: Dmitry Osipenko <[email protected]> Acked-by: Stephen Warren <[email protected]> Acked-by: Laxman Dewangan <[email protected]> Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions