aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index c4638e6f0238..82de78603686 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1623,11 +1623,11 @@ int tcp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
1623 (len > sysctl_tcp_dma_copybreak) && !(flags & MSG_PEEK) && 1623 (len > sysctl_tcp_dma_copybreak) && !(flags & MSG_PEEK) &&
1624 !sysctl_tcp_low_latency && 1624 !sysctl_tcp_low_latency &&
1625 net_dma_find_channel()) { 1625 net_dma_find_channel()) {
1626 preempt_enable_no_resched(); 1626 preempt_enable();
1627 tp->ucopy.pinned_list = 1627 tp->ucopy.pinned_list =
1628 dma_pin_iovec_pages(msg->msg_iov, len); 1628 dma_pin_iovec_pages(msg->msg_iov, len);
1629 } else { 1629 } else {
1630 preempt_enable_no_resched(); 1630 preempt_enable();
1631 } 1631 }
1632 } 1632 }
1633#endif 1633#endif