Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee
Commit:     b4caea8aa8b4caeda2af6ef6b7f0d43c516815ee
Parent:     d84d64dcb3b54c900113f8dcd1240205ae164922
Author:     David S. Miller <[EMAIL PROTECTED]>
AuthorDate: Fri Oct 26 04:20:13 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Fri Oct 26 04:20:13 2007 -0700

    [TCP]: Add missing I/O AT code to ipv6 side.
    
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
---
 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 32dc329..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
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to