summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-10-26 04:20:13 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-26 04:20:13 -0700
commitb4caea8aa8b4caeda2af6ef6b7f0d43c516815ee (patch)
treeaadb5979a8f915b227ea174731125d4ea428dca2 /net
parentd84d64dcb3b54c900113f8dcd1240205ae164922 (diff)
downloadlinux-b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee.tar.gz
linux-b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee.tar.bz2
linux-b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee.zip
[TCP]: Add missing I/O AT code to ipv6 side.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/tcp_ipv6.c2
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:
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