Commit b4caea8a authored by David S. Miller's avatar David S. Miller

[TCP]: Add missing I/O AT code to ipv6 side.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d84d64dc
...@@ -1732,6 +1732,8 @@ process: ...@@ -1732,6 +1732,8 @@ process:
if (!sock_owned_by_user(sk)) { if (!sock_owned_by_user(sk)) {
#ifdef CONFIG_NET_DMA #ifdef CONFIG_NET_DMA
struct tcp_sock *tp = tcp_sk(sk); 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) if (tp->ucopy.dma_chan)
ret = tcp_v6_do_rcv(sk, skb); ret = tcp_v6_do_rcv(sk, skb);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment