Re: [PATCH] Bluetooth: hci_qca: Fix double free during SSR timeout

From: Markus Elfring
Date: Thu Jun 04 2020 - 14:24:53 EST


> Due to race conditions between qca_hw_error and qca_controller_memdump
> during SSR timeout,the same pointer is freed twice.

This is an unfortunate software situation.


> Which results to double free error.

How do you think about to omit this sentence from the change description?


> Now a lock is acquired while SSR state moved to timeout.

I suggest to convert this information into an imperative wording.

Would you like to add the tag âFixesâ to the commit message?

Regards,
Markus