diff options
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 32dc329762e9..06fa4baddf05 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1732,6 +1732,8 @@ process: | |||
1732 | if (!sock_owned_by_user(sk)) { | 1732 | if (!sock_owned_by_user(sk)) { |
1733 | #ifdef CONFIG_NET_DMA | 1733 | #ifdef CONFIG_NET_DMA |
1734 | struct tcp_sock *tp = tcp_sk(sk); | 1734 | struct tcp_sock *tp = tcp_sk(sk); |
1735 | if (!tp->ucopy.dma_chan && tp->ucopy.pinned_list) | ||
1736 | tp->ucopy.dma_chan = get_softnet_dma(); | ||
1735 | if (tp->ucopy.dma_chan) | 1737 | if (tp->ucopy.dma_chan) |
1736 | ret = tcp_v6_do_rcv(sk, skb); | 1738 | ret = tcp_v6_do_rcv(sk, skb); |
1737 | else | 1739 | else |