diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-06-28 12:15:53 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-08-11 11:43:02 -0700 |
commit | 9f78191cc9f1b34c2e2afd7b554a83bf034092dd (patch) | |
tree | f00351059ed7f3f6aa45ea80163ed9b885ed2a26 /drivers | |
parent | 04a51d616929eb96b7a3e547bc11d3bb46af2c9f (diff) | |
download | linux-stable-9f78191cc9f1b34c2e2afd7b554a83bf034092dd.tar.gz linux-stable-9f78191cc9f1b34c2e2afd7b554a83bf034092dd.tar.bz2 linux-stable-9f78191cc9f1b34c2e2afd7b554a83bf034092dd.zip |
Bluetooth: hci_conn: Always allocate unique handles
This attempts to always allocate a unique handle for connections so they
can be properly aborted by the likes of hci_abort_conn, so this uses the
invalid range as a pool of unset handles that way if userspace is trying
to create multiple connections at once each will be given a unique
handle which will be considered unset.
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions