Skip to content

Commit

Permalink
net/ipv4: tcp_output.c: Set to 64K properly
Browse files Browse the repository at this point in the history
  • Loading branch information
naups committed Nov 18, 2023
1 parent 006003e commit 2b616b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void tcp_select_initial_window(struct net *net, int __space, __u32 mss,
}

/* Lock the initial TCP window size to 64K*/
*rcv_wnd = 64240;
*rcv_wnd = 65536;

/* Set the clamp no higher than max representable value */
(*window_clamp) = min(65535U << (*rcv_wscale), *window_clamp);
Expand Down

0 comments on commit 2b616b7

Please sign in to comment.