Skip to content
Commit c350f8be authored by Chen Zhou's avatar Chen Zhou Committed by Paul Moore
Browse files

selinux: Fix error return code in sel_ib_pkey_sid_slow()



Fix to return a negative error code from the error handling case
instead of 0 in function sel_ib_pkey_sid_slow(), as done elsewhere
in this function.

Cc: stable@vger.kernel.org
Fixes: 409dcf31 ("selinux: Add a cache for quicker retreival of PKey SIDs")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarChen Zhou <chenzhou10@huawei.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 0d50f059
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment