lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CANn89iJAu5CLq1LkRLt0qJ+ytFGXWGqymMHBnMevcPS4Z2GAXQ@mail.gmail.com> Date: Mon, 7 Aug 2023 15:25:56 +0200 From: Eric Dumazet <edumazet@...gle.com> To: Manjusaka <me@...jusaka.me> Cc: mhiramat@...nel.org, rostedt@...dmis.org, davem@...emloft.net, dsahern@...nel.org, kuba@...nel.org, pabeni@...hat.com, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, linux-trace-kernel@...r.kernel.org, bpf@...r.kernel.org Subject: Re: [PATCH] [RFC PATCH] tcp event: add new tcp:tcp_cwnd_restart event On Mon, Aug 7, 2023 at 2:49 PM Manjusaka <me@...jusaka.me> wrote: > > > Do not include code before variable declarations. > Sorry about that. I will update the code later. > > > I would rather add a trace in tcp_ca_event(), this would be more generic ? > > https://elixir.bootlin.com/linux/latest/source/net/ipv4/tcp_cong.c#L41 > > I think maybe we already have the tcp_ca_event but named tcp_cong_state_set? I am speaking of tcp_ca_event()... For instance, tcp_cwnd_restart() calls tcp_ca_event(sk, CA_EVENT_CWND_RESTART); tcp_set_ca_state() can only set icsk_ca_state to one value from enum tcp_ca_state: TCP_CA_Open, TCP_CA_Disorder, TCP_CA_CWR, TCP_CA_Recovery, TCP_CA_Loss enum tcp_ca_event has instead: CA_EVENT_TX_START, CA_EVENT_CWND_RESTART, CA_EVENT_COMPLETE_CWR, CA_EVENT_LOSS, CA_EVENT_ECN_NO_CE, CA_EVENT_ECN_IS_CE
Powered by blists - more mailing lists