diff options
author | Aurelien Jacquiot <a-jacquiot@ti.com> | 2016-03-22 14:25:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-22 15:36:02 -0700 |
commit | 36915976eca58f2eefa040ba8f9939672564df61 (patch) | |
tree | 8d89826c7a16c53870d898c5a7f6a7c13f5a790b /ipc/mq_sysctl.c | |
parent | 95f27356e4a8982257ecae6bc44c650772d77659 (diff) | |
download | linux-36915976eca58f2eefa040ba8f9939672564df61.tar.bz2 |
rapidio/rionet: fix deadlock on SMP
Fix deadlocking during concurrent receive and transmit operations on SMP
platforms caused by the use of incorrect lock: on transmit 'tx_lock'
spinlock should be used instead of 'lock' which is used for receive
operation.
This fix is applicable to kernel versions starting from v2.15.
Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com>
Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Matt Porter <mporter@kernel.crashing.org>
Cc: Andre van Herk <andre.van.herk@prodrive-technologies.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/mq_sysctl.c')
0 files changed, 0 insertions, 0 deletions