diff options
| author | Guoqing Jiang <gqjiang@suse.com> | 2017-05-16 14:01:25 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:09 +0200 |
| commit | 0850cb7b028b6b57ca72843ff7d4ad6d7858c068 (patch) | |
| tree | 1ae61579524eeeea5f7e3a76dcfe2477497f022b /security/selinux/hooks.c | |
| parent | 5c01f95c2048a683f56aa7c7adb4464d9c28dc2c (diff) | |
md-cluster: fix potential lock issue in add_new_disk
[ Upstream commit 2dffdc0724004f38f5e39907747b53e4b0d80e59 ]
The add_new_disk returns with communication locked if
__sendmsg returns failure, fix it with call unlock_comm
before return.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
CC: Goldwyn Rodrigues <rgoldwyn@suse.com>
Signed-off-by: Guoqing Jiang <gqjiang@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
