Commit 500e114f authored by Ye Weihua's avatar Ye Weihua Committed by Zheng Zengkai
Browse files

livepatch/arm: fix incorrect stack detection

hulk inclusion
category: bugfix
bugzilla: 185757 https://gitee.com/openeuler/kernel/issues/I4DDEL



---------------------------

During the test, it is found that the running function to be patched
is not detected when enabling the livepatch. It will cause unkown
problems.

The cause is that the return value of the klp_check_jump_func() is
incorrect. To solve the problem, reverse the return value.

Signed-off-by: default avatarYe Weihua <yeweihua4@huawei.com>
Reviewed-by: default avatarKuohai Xu <xukuohai@huawei.com>

Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 4bc4fc93
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment