Unverified Commit 03b9074c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents b2015a0b dcddbe19
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -36,6 +36,7 @@ int __tcp_bpf_recvmsg(struct sock *sk, struct sk_psock *psock,
			page = sg_page(sge);
			if (copied + copy > len)
				copy = len - copied;
			if (copy)
				copy = copy_page_to_iter(page, sge->offset, copy, iter);
			if (!copy)
				return copied ? copied : -EFAULT;