diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index cf949a119a54..db0856ad70cb 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1409,7 +1409,7 @@ static void tcp_service_net_dma(struct sock *sk, bool wait) | |||
1409 | dma_async_issue_pending(tp->ucopy.dma_chan); | 1409 | dma_async_issue_pending(tp->ucopy.dma_chan); |
1410 | 1410 | ||
1411 | do { | 1411 | do { |
1412 | if (dma_async_memcpy_complete(tp->ucopy.dma_chan, | 1412 | if (dma_async_is_tx_complete(tp->ucopy.dma_chan, |
1413 | last_issued, &done, | 1413 | last_issued, &done, |
1414 | &used) == DMA_SUCCESS) { | 1414 | &used) == DMA_SUCCESS) { |
1415 | /* Safe to free early-copied skbs now */ | 1415 | /* Safe to free early-copied skbs now */ |