diff options
| author | Dan Williams <[email protected]> | 2009-01-06 18:38:15 +0000 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2009-01-06 18:38:15 +0000 |
| commit | f67b45999205164958de4ec0658d51fa4bee066d (patch) | |
| tree | 2fc3c2e833fdfea2f029dca05d5401ba9ae63229 /net/ipv4/tcp_input.c | |
| parent | dmaengine: provide a common 'issue_pending_all' implementation (diff) | |
| download | kernel-f67b45999205164958de4ec0658d51fa4bee066d.tar.gz kernel-f67b45999205164958de4ec0658d51fa4bee066d.zip | |
net_dma: convert to dma_find_channel
Use the general-purpose channel allocation provided by dmaengine.
Reviewed-by: Andrew Morton <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_input.c')
| -rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index 99b7ecbe8893..a6961d75c7ea 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c @@ -5005,7 +5005,7 @@ static int tcp_dma_try_early_copy(struct sock *sk, struct sk_buff *skb, return 0; if (!tp->ucopy.dma_chan && tp->ucopy.pinned_list) - tp->ucopy.dma_chan = get_softnet_dma(); + tp->ucopy.dma_chan = dma_find_channel(DMA_MEMCPY); if (tp->ucopy.dma_chan && skb_csum_unnecessary(skb)) { |
