Re: [PATCH net v2] net: qrtr: announce local services again once our HELLO is sent
From: Joonhoe Kim
Date: Thu Oct 29 2026 - 06:54:23 EST
On Mon, 26 Oct 2026 17:39:36 +0000, Sashiko AI review wrote:
> - [Medium] In net/qrtr/af_qrtr.c, qrtr_hello_work() replays the HELLO
> once and never retries, so a failed replay is lost for good.
Agreed. In v3 qrtr_hello_work() reschedules itself when the allocation
or qrtr_local_enqueue() fails. Once hello_sent is set it skips our HELLO
and only retries the replay.
> - [Low] In net/qrtr/af_qrtr.c, the new HELLO replay in qrtr_hello_work()
> is not serialized against qrtr_endpoint_unregister(), so the replayed…
Agreed. v3 queues the replay under ep_lock and only while node->ep is
set. qrtr_endpoint_unregister() clears node->ep under ep_lock before it
queues the BYE, so the replay either comes before the BYE or is not
sent.
https://lore.kernel.org/all/20261029105142.2503-1-26rote@xxxxxxxxx/
pw-bot: cr