Fedor Pchelkin <pchelkin@xxxxxxxxx> writes:Oops, that's my fault, I indeed patched the wrong tree.
On 16.02.2023 19:15, Toke Høiland-Jørgensen wrote:No it's not, as of:
> Erm, does this actually fix the leak? AFAICT, ath9k_hif_usb_dev_deinit()
> is only called on the error path of ath9k_hif_usb_firmware_cb(), not
> when the device is subsequently torn down in
> ath9k_htc_disconnect_device()?
ath9k_hif_usb_dev_deinit() is also called inside
ath9k_hif_usb_disconnect().
f099c5c9e2ba ("wifi: ath9k: Fix use-after-free in ath9k_hif_usb_disconnect()")
I guess you're looking at an older tree? Please base your patches on an
up-to-date ath-next tree.