Skip to content

Commit 331b78e

Browse files
committed
mptcp: Paulo's fix for #443
Signed-off-by: Christoph Paasch <cpaasch@apple.com>
1 parent b9e611b commit 331b78e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

net/mptcp/protocol.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2758,6 +2758,8 @@ static void __mptcp_init_sock(struct sock *sk)
27582758
msk->rmem_fwd_alloc = 0;
27592759
WRITE_ONCE(msk->rmem_released, 0);
27602760
msk->timer_ival = TCP_RTO_MIN;
2761+
msk->scaling_ratio = (1200 << TCP_RMEM_TO_WIN_SCALE) /
2762+
SKB_TRUESIZE(4096);
27612763

27622764
WRITE_ONCE(msk->first, NULL);
27632765
inet_csk(sk)->icsk_sync_mss = mptcp_sync_mss;

0 commit comments

Comments
 (0)