Hi Sebastian, > On 2024-05-14 11:13:06 [+0200], Lukasz Majewski wrote: > > The timer for removing entries in the ProxyNodeTable shall be only > > active when the HSR driver works as RedBox (HSR-SAN). > > > > Moreover, the obsolete del_timer_sync() is replaced with > > timer_delete_sync(). > > > > This patch improves fix from commit 3c668cef61ad > > ("net: hsr: init prune_proxy_timer sooner") as the prune node > > timer shall be setup only when HSR RedBox is supported in the node. > > > > Is it problematic to init/ delete the timer in non-redbox mode? It > looks easier and it is not a hotpath. My concern is only with resource allocation - when RedBox is not enabled the resources for this particular, not used timer are allocated anyway. If this can be omitted - then we can drop the patch. > > > Signed-off-by: Lukasz Majewski > > Sebastian Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de