Skip to content

Commit

Permalink
Squash-to: "mptcp: push pending frames when subflow has free space"
Browse files Browse the repository at this point in the history
whoops, checking the free space on the wrong sock

Signed-off-by: Paolo Abeni <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
  • Loading branch information
Paolo Abeni authored and matttbe committed Dec 11, 2020
1 parent 2b059fd commit 02754ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mptcp/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ static void ack_update_msk(struct mptcp_sock *msk,

/* this assumes mptcp_incoming_options() is invoked after tcp_ack() */
if (after64(msk->wnd_end, READ_ONCE(msk->snd_nxt)) &&
sk_stream_memory_free(sk))
sk_stream_memory_free(ssk))
__mptcp_check_push(sk, ssk);

if (after64(new_snd_una, old_snd_una)) {
Expand Down

0 comments on commit 02754ad

Please sign in to comment.