Re: [PATCH net-next] tcp: Optimize the recovery of tcp when lack of SACK

2020-07-19 Thread hujunwei
On 2020/7/19 11:29, Neal Cardwell wrote: > On Sat, Jul 18, 2020 at 6:43 AM hujunwei wrote: >> >> >> On 2020/7/17 22:44, Neal Cardwell wrote: >>> On Fri, Jul 17, 2020 at 7:43 AM hujunwei wrote: >>>> >>>> From: Junwei Hu >>>> &

Re: [PATCH net-next] tcp: Optimize the recovery of tcp when lack of SACK

2020-07-18 Thread hujunwei
On 2020/7/17 22:44, Neal Cardwell wrote: > On Fri, Jul 17, 2020 at 7:43 AM hujunwei wrote: >> >> From: Junwei Hu >> >> In the document of RFC2582(https://tools.ietf.org/html/rfc2582) >> introduced two separate scenarios for tcp congestion control: > &

[PATCH net-next] tcp: Optimize the recovery of tcp when lack of SACK

2020-07-17 Thread hujunwei
From: Junwei Hu In the document of RFC2582(https://tools.ietf.org/html/rfc2582) introduced two separate scenarios for tcp congestion control: There are two separate scenarios in which the TCP sender could receive three duplicate acknowledgements acknowledging "send_high" but no more than "send_hi

[PATCH net v3] ipvs: Improve robustness to the ipvs sysctl

2019-07-31 Thread hujunwei
From: Junwei Hu The ipvs module parse the user buffer and save it to sysctl, then check if the value is valid. invalid value occurs over a period of time. Here, I add a variable, struct ctl_table tmp, used to read the value from the user buffer, and save only when it is valid. I delete proc_do_sy

Re: [PATCH net v2] ipvs: Improve robustness to the ipvs sysctl

2019-07-31 Thread hujunwei
Hello, Julian On 2019/7/31 3:29, Julian Anastasov wrote: > > Hello, > > On Tue, 30 Jul 2019, hujunwei wrote: > >> From: Junwei Hu >> >> The ipvs module parse the user buffer and save it to sysctl, >> then check if the value is valid. invali

[PATCH net v2] ipvs: Improve robustness to the ipvs sysctl

2019-07-30 Thread hujunwei
From: Junwei Hu The ipvs module parse the user buffer and save it to sysctl, then check if the value is valid. invalid value occurs over a period of time. Here, I add a variable, struct ctl_table tmp, used to read the value from the user buffer, and save only when it is valid. I delete proc_do_sy

[PATCH net] ipvs: Improve robustness to the ipvs sysctl

2019-07-15 Thread hujunwei
From: Junwei Hu The ipvs module parse the user buffer and save it to sysctl, then check if the value is valid. invalid value occurs over a period of time. Here, I add a variable, struct ctl_table tmp, used to read the value from the user buffer, and save only when it is valid. Fixes: f73181c8288