Skip to content

Commit

Permalink
mptcp: Paulo's fix for #443
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
  • Loading branch information
cpaasch committed Sep 27, 2023
1 parent b9e611b commit 331b78e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions net/mptcp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -2758,6 +2758,8 @@ static void __mptcp_init_sock(struct sock *sk)
msk->rmem_fwd_alloc = 0;
WRITE_ONCE(msk->rmem_released, 0);
msk->timer_ival = TCP_RTO_MIN;
msk->scaling_ratio = (1200 << TCP_RMEM_TO_WIN_SCALE) /
SKB_TRUESIZE(4096);

WRITE_ONCE(msk->first, NULL);
inet_csk(sk)->icsk_sync_mss = mptcp_sync_mss;
Expand Down

0 comments on commit 331b78e

Please sign in to comment.