What is the reason for checking mss with 1<<rcv_wscale? include/net/tcp.h: static inline void tcp_select_initial_window(int __space, __u32 mss, __u32 *rcv_wnd, __u32 *window_clamp, int wscale_ok, __u
Thanks, still it is unclear to me why are we downsizing the advertised window(rcv_wnd) to cwnd? To defeat disobeying sender, or something like below? Suppose when wscale is zero, it is now checking
There is never any reason to advertise a receive window larger than the initial congestion window of the sender could ever be. Setting it properly like this also makes sure that we do receive window