Re: [PATCH] net: dsa: microchip: fix race condition

2020-10-05 Thread Vladimir Oltean
Hi Christian, On Mon, Oct 05, 2020 at 06:08:29PM +0200, Christian Eggers wrote: > Between queuing the delayed work and finishing the setup of the dsa > ports, the process may sleep in request_module() and the queued work may > be executed prior the initialization of the DSA ports is finished. In

Re: [PATCH] net: dsa: microchip: fix race condition

2020-10-05 Thread Florian Fainelli
On 10/5/2020 9:08 AM, Christian Eggers wrote: Between queuing the delayed work and finishing the setup of the dsa ports, the process may sleep in request_module() and the queued work may be executed prior the initialization of the DSA ports is finished. In ksz_mib_read_work(), a NULL dereferen