[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <03B539EF-D2F4-4345-A6F9-F2F77CAA41C5@holtmann.org>
Date: Wed, 16 Mar 2022 16:32:14 +0100
From: Marcel Holtmann <marcel@...tmann.org>
To: Niels Dossche <dossche.niels@...il.com>
Cc: netdev@...r.kernel.org, Johan Hedberg <johan.hedberg@...il.com>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>
Subject: Re: [PATCH] Bluetooth: call hci_le_conn_failed with hdev lock in
hci_le_conn_failed
Hi Niels,
> hci_le_conn_failed function's documentation says that the caller must
> hold hdev->lock. The only callsite that does not hold that lock is
> hci_le_conn_failed. The other 3 callsites hold the hdev->lock very
> locally. The solution is to hold the lock during the call to
> hci_le_conn_failed.
>
> Fixes: 3c857757ef6e ("Bluetooth: Add directed advertising support through connect()")
> Signed-off-by: Niels Dossche <dossche.niels@...il.com>
> ---
> net/bluetooth/hci_conn.c | 2 ++
> 1 file changed, 2 insertions(+)
please send net/bluetooth/ to linux-bluetooth mailing list.
Regards
Marcel
Powered by blists - more mailing lists