Re: [PATCH] Bluetooth: drop HCI device reference before return
From: Marcel Holtmann
Date: Mon Jan 25 2021 - 10:53:57 EST
Hi Pan,
> Call hci_dev_put() to decrement reference count of HCI device hdev if
> fails to duplicate memory.
>
> Fixes: 0b26ab9dce74 ("Bluetooth: AMP: Handle Accept phylink command status evt")
> Signed-off-by: Pan Bian <bianpan2016@xxxxxxx>
> ---
> net/bluetooth/a2mp.c | 1 +
> 1 file changed, 1 insertion(+)
patch has been applied to bluetooth-next tree.
Regards
Marcel