From: David S. Miller Date: Fri, 26 Oct 2007 11:20:13 +0000 (-0700) Subject: [TCP]: Add missing I/O AT code to ipv6 side. X-Git-Tag: v2.6.24-rc2~132^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee;p=platform%2Fkernel%2Flinux-exynos.git [TCP]: Add missing I/O AT code to ipv6 side. Signed-off-by: David S. Miller --- diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 32dc3297..06fa4ba 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -1732,6 +1732,8 @@ process: if (!sock_owned_by_user(sk)) { #ifdef CONFIG_NET_DMA struct tcp_sock *tp = tcp_sk(sk); + if (!tp->ucopy.dma_chan && tp->ucopy.pinned_list) + tp->ucopy.dma_chan = get_softnet_dma(); if (tp->ucopy.dma_chan) ret = tcp_v6_do_rcv(sk, skb); else