On Tue, Jan 30, 2024 at 2:57 AM Shaowei Sun <1819846...@qq.com> wrote: > > Telemetry can only create 10 conns by default, each of which is processed > by a thread. > > When a thread fails to write using socket, the thread will end directly > without reducing the total number of conns. > > This will result in the machine running for a long time, and if there are > 10 failures, the telemetry will be unavailable > > Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality") > > Signed-off-by: Shaowei Sun <1819846...@qq.com> > Acked-by: Bruce Richardson <bruce.richard...@intel.com> > Acked-by: Ciara Power <ciara.po...@intel.com> > Acked-by: Chengwen Feng <fengcheng...@huawei.com>
Thanks for the fix. As far as I can see, the limiting of the number of connections (which here results in a DoS on the telemetry socket) was added in commit 2a7d0b872f79 ("telemetry: add upper limit on connections"). If you confirm this is indeed this commit that introduced the issue, I will fix the Fixes: tag myself when applying. -- David Marchand