aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorPetr Mladek <[email protected]>2017-04-11 11:07:48 +0000
committerJiri Kosina <[email protected]>2017-04-11 18:54:27 +0000
commite679af627fe875a51d40b9a2b17f08fbde36e0e2 (patch)
treefb42666cf8009e2569607e12636ade178fae0a48 /net/unix/af_unix.c
parentlivepatch: make klp_mutex proper part of API (diff)
downloadkernel-e679af627fe875a51d40b9a2b17f08fbde36e0e2.tar.gz
kernel-e679af627fe875a51d40b9a2b17f08fbde36e0e2.zip
livepatch: Cancel transition a safe way for immediate patches
klp_init_transition() does not set func->transition for immediate patches. Then klp_ftrace_handler() could use the new code immediately. As a result, it is not safe to put the livepatch module in klp_cancel_transition(). This patch reverts most of the last minute changes klp_cancel_transition(). It keeps the warning about a misuse because it still makes sense. Fixes: 3ec24776bfd0 ("livepatch: allow removal of a disabled patch") Signed-off-by: Petr Mladek <[email protected]> Acked-by: Miroslav Benes <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions