aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2017-11-14 16:32:10 +0200
committerVinod Koul <vinod.koul@intel.com>2017-12-04 22:33:51 +0530
commit397c59bce6cbda05dc862b691e15ac2ef0ba1948 (patch)
treea8c6cf73e3c18df6436cd35c19e828bf91f8e67a /net/unix/af_unix.c
parentdmaengine: amba-pl08x: Use vchan_terminate_vdesc() instead of desc_free (diff)
downloadwireguard-linux-397c59bce6cbda05dc862b691e15ac2ef0ba1948.tar.xz
wireguard-linux-397c59bce6cbda05dc862b691e15ac2ef0ba1948.zip
dmaengine: img-mdc-dma: Use vchan_terminate_vdesc() instead of desc_free
To avoid race with vchan_complete, use the race free way to terminate running transfer. Implement the device_synchronize callback to make sure that the terminated descriptor is freed. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions