projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d84d64d
)
[TCP]: Add missing I/O AT code to ipv6 side.
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 26 Oct 2007 11:20:13 +0000
(
04:20
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 26 Oct 2007 11:20:13 +0000
(
04:20
-0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/tcp_ipv6.c
patch
|
blob
|
history
diff --git
a/net/ipv6/tcp_ipv6.c
b/net/ipv6/tcp_ipv6.c
index 32dc329762e95771b39428163a237cc3893046a4..06fa4baddf0527d224b78b33e9971d1336ea894e 100644
(file)
--- 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