[PATCH net] tcp: fix functions of tcp_congestion_ops from being called before initialization

2016-07-29 Thread Li, Ji
In Linux 3.17 and earlier, tcp_init_congestion_ops (i.e. tcp_reno) is used as the ca_ops during 3WHS, and after 3WHS, ca_ops is assigned as the default congestion control set by sysctl and immediately its parameters stored in icsk_ca_priv[] are initialized. Commit 55d8694fa82c ("net: tcp: assign

Re: [PATCH net] tcp: fix functions of tcp_congestion_ops from being called before initialization

2016-07-29 Thread Li, Ji
ons are really needed to be called during 3WHS, why don’t we initialize them earlier? On 7/29/16, 5:09 AM, "Florian Westphal" <f...@strlen.de> wrote: Li, Ji <j...@akamai.com> wrote: > In Linux 3.17 and earlier, tcp_init_congestion_ops (i.e. tcp_reno) is >