Skip to content

Commit

Permalink
2
Browse files Browse the repository at this point in the history
Signed-off-by: Geliang Tang <[email protected]>
  • Loading branch information
Geliang Tang committed Jan 10, 2025
1 parent de853fb commit c13617f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1754,7 +1754,7 @@ static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
/* ensure fitting the notsent_lowat() constraint */
copy_limit = mptcp_send_limit(sk);
if (!copy_limit) {
pr_info("%s call wait_for_memory timeo=%ld\n", __func__, timeo);
//pr_info("%s call wait_for_memory timeo=%ld\n", __func__, timeo);
goto wait_for_memory;
}

Expand Down Expand Up @@ -1817,7 +1817,7 @@ static int mptcp_sendmsg(struct sock *sk, struct msghdr *msg, size_t len)
set_bit(SOCK_NOSPACE, &sk->sk_socket->flags);
__mptcp_push_pending(sk, msg->msg_flags);
ret = sk_stream_wait_memory(sk, &timeo);
pr_info("%s sk_stream_wait_memory ret=%d timeo=%ld\n", __func__, ret, timeo);
//pr_info("%s sk_stream_wait_memory ret=%d timeo=%ld\n", __func__, ret, timeo);
if (ret)
goto do_error;
}
Expand Down

0 comments on commit c13617f

Please sign in to comment.