Skip to content

Commit

Permalink
Paolo's fix for #444
Browse files Browse the repository at this point in the history
  • Loading branch information
cpaasch committed Oct 5, 2023
1 parent 1176aa7 commit 21770dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ static int mptcp_sendmsg_frag(struct sock *sk, struct sock *ssk,
if (copy == 0) {
u64 snd_una = READ_ONCE(msk->snd_una);

if (snd_una != msk->snd_nxt) {
if (snd_una != msk->snd_nxt || tcp_write_queue_tail(ssk)) {
tcp_remove_empty_skb(ssk);
return 0;
}
Expand Down

0 comments on commit 21770dc

Please sign in to comment.