Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\transition.c Create Date:2022-07-28 10:31:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This is called in the error path, to cancel a transition before it has* started, i.e. klp_init_transition() has been called but* klp_start_transition() hasn't. If the transition *has* been started,* klp_reverse_transition() should be used instead.

Proto:void klp_cancel_transition(void)

Type:void

Parameter:Nothing

146  If WARN_ON_ONCE(klp_target_state != KLP_PATCHED) Then Return
149  pr_debug("'%s': canceling patching transition, going to unpatch\n", Unique handle for this module )
152  klp_target_state = KLP_UNPATCHED
153  The transition to the target patch state is complete. Clean up the data* structures.