Re: [PATCH] driver core: Fix concurrency issue in match driver interface.

From: Greg KH
Date: Tue Nov 12 2024 - 17:27:45 EST


On Wed, Nov 13, 2024 at 02:21:57AM +0800, Qiu-ji Chen wrote:
> Hi, Greg
>
> The driver_override is updated by driver_set_override(), a function
> provided by the driver core. In driver_set_override(), the
> driver_override is updated while holding the device_lock. Therefore,
> locking is required when calling match to prevent the driver_override
> from being modified within driver_set_override().

I'm sorry, but I lost all context. What are you referring to here?

Remember, some of use get 1000+ emails a day to do something with,
always respond with proper quoting and response in order to have a
conversation that everyone can understand.

thanks,

greg k-h