1
0
Fork 0
alistair23-linux/arch
Jens Axboe 6961cd4d0f ubd: fix missing lock around request issue
We need to hold the device lock (and disable interrupts) while
writing new commands, or we could be interrupted while that
is happening and read invalid requests in the completion path.

Fixes: 4e6da0fe80 ("um: Convert ubd driver to blk-mq")
Tested-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-07 14:34:05 -07:00
..
alpha signal: Remove the need for __ARCH_SI_PREABLE_SIZE and SI_PAD_SIZE 2018-10-03 16:46:43 +02:00
arc Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2018-10-24 11:49:35 +01:00
arm pci-v4.20-changes 2018-10-25 06:50:48 -07:00
arm64 pci-v4.20-changes 2018-10-25 06:50:48 -07:00
c6x dma-mapping: merge direct and noncoherent ops 2018-09-20 09:01:15 +02:00
h8300 vmlinux.lds.h: Move LSM_TABLE into INIT_DATA 2018-10-10 20:40:21 -07:00
hexagon First batch of dma-mapping changes for 4.20: 2018-10-22 18:16:03 +01:00
ia64 Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2018-10-24 14:43:41 +01:00
m68k First batch of dma-mapping changes for 4.20: 2018-10-22 18:16:03 +01:00
microblaze Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2018-10-24 11:49:35 +01:00
mips DMAengine updates for v4.20-rc1 2018-10-25 06:43:18 -07:00
nds32 dma-mapping: merge direct and noncoherent ops 2018-09-20 09:01:15 +02:00
nios2 dma-mapping: merge direct and noncoherent ops 2018-09-20 09:01:15 +02:00
openrisc dma-mapping: merge direct and noncoherent ops 2018-09-20 09:01:15 +02:00
parisc Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-10-24 11:22:39 +01:00
powerpc pci-v4.20-changes 2018-10-25 06:50:48 -07:00
riscv Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-10-24 11:22:39 +01:00
s390 Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-10-24 11:22:39 +01:00
sh regulator: Regulator updates for next release 2018-10-23 01:54:44 +01:00
sparc Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-10-24 11:22:39 +01:00
um ubd: fix missing lock around request issue 2018-11-07 14:34:05 -07:00
unicore32 Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace 2018-10-24 11:22:39 +01:00
x86 pci-v4.20-changes 2018-10-25 06:50:48 -07:00
xtensa Merge branch 'next-general' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security 2018-10-24 11:49:35 +01:00
.gitignore
Kconfig jump_label: Implement generic support for relative references 2018-09-27 17:56:47 +02:00