[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZaY0bL73kDYgqh2R@nanopsycho>
Date: Tue, 16 Jan 2024 08:46:52 +0100
From: Jiri Pirko <jiri@...nulli.us>
To: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
Cc: netdev@...r.kernel.org, vadim.fedorenko@...ux.dev, davem@...emloft.net,
milena.olech@...el.com, linux-kernel@...r.kernel.org,
pabeni@...hat.com, kuba@...nel.org, mschmidt@...hat.com,
Jan Glaza <jan.glaza@...el.com>
Subject: Re: [PATCH net v3 3/3] dpll: fix userspace availability of pins
Mon, Jan 15, 2024 at 09:52:41AM CET, arkadiusz.kubalewski@...el.com wrote:
>If parent pin was unregistered but child pin was not, the userspace
>would see the "zombie" pins - the ones that were registered with
>a parent pin (dpll_pin_on_pin_register(..)).
>Technically those are not available - as there is no dpll device in the
>system. Do not dump those pins and prevent userspace from any
>interaction with them. Provide a unified function to determine if the
>pin is available and use it before acting/responding for user requests.
>
>Fixes: 9431063ad323 ("dpll: core: Add DPLL framework base functions")
>Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions")
>Reviewed-by: Jan Glaza <jan.glaza@...el.com>
>Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>
The patch looks fine, but it should come before the previous one.
pw-bot: cr
Feel free to attach the review tag to the next version you send:
Reviewed-by: Jiri Pirko <jiri@...dia.com>
Powered by blists - more mailing lists