On 5/10/22 8:01 PM, Donald Buczek wrote:
I guess v2 is the best at the moment. I pushed a slightly modified v2 to md-next.I think, this can be used to get a double-free from md_unregister_thread. Please review https://lore.kernel.org/linux-raid/8312a154-14fb-6f07-0cf1-8c970187cc49@xxxxxxxxxxxxx/
That is supposed to be addressed by the second one, pls consider it too. [PATCH 2/2] md: protect md_unregister_thread from reentrancy Thanks, Guoqing