No description
Find a file
Niels Dossche dd1ad351ee Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring
[ Upstream commit 50a3633ae5 ]

hci_is_adv_monitoring's function documentation states that it must be
called under the hdev lock. Paths that leads to an unlocked call are:
discov_update => start_discovery => interleaved_discov => active_scan
and: discov_update => start_discovery => active_scan

The solution is to take the lock in active_scan during the duration of
the call to hci_is_adv_monitoring.

Fixes: c32d624640 ("Bluetooth: disable filter dup when scan for adv monitor")
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-04-19 17:49:43 +08:00
arch perf/amd/ibs: Use interrupt regs ip for stack unwinding 2023-04-19 17:49:41 +08:00
block
certs
crypto
Documentation
drivers media: hantro: HEVC: Fix tile info buffer value computation 2023-04-19 17:49:43 +08:00
fs iomap: iomap_write_failed fix 2023-04-19 17:49:40 +08:00
include block: Fix the bio.bi_opf comment 2023-04-19 17:49:42 +08:00
init
ipc
kernel dma-direct: don't fail on highmem CMA pages in dma_direct_alloc_pages 2023-04-19 17:49:41 +08:00
lib
LICENSES
mm
net Bluetooth: use hdev lock in activate_scan for hci_is_adv_monitoring 2023-04-19 17:49:43 +08:00
samples samples: bpf: Don't fail for a missing VMLINUX_BTF when VMLINUX_H is provided 2023-04-19 17:49:40 +08:00
scripts scripts/faddr2line: Fix overlapping text section failures 2023-04-19 17:49:42 +08:00
security
sound ASoC: samsung: Fix refcount leak in aries_audio_probe 2023-04-19 17:49:41 +08:00
tools kselftest/cgroup: fix test_stress.sh to use OUTPUT dir 2023-04-19 17:49:42 +08:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.