[PATCH linux dev-4.10] fsi: core: Hold hub master reference until unregistration complete
Joel Stanley
joel at jms.id.au
Wed Oct 4 15:28:21 AEDT 2017
On Tue, Oct 3, 2017 at 3:53 AM, Christopher Bostic
<cbostic at linux.vnet.ibm.com> wrote:
> From: Christopher Bostic <cbostic at us.ibm.com>
>
> During the hub master unregister process there is a race condition
> where its memory can be freed before the entire unregister is
> complete. To prevent this hold a reference until complete.
>
> Code provided by Jeremy Kerr <jk at ozlabs.org>
>
> Signed-off-by: Christopher Bostic <cbostic at linux.vnet.ibm.com>
I applied Jeremy's version with your tested-by tag.
Cheers,
Joel
More information about the openbmc
mailing list