]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
um: Fix get_signal() usage
authorRichard Weinberger <richard@nod.at>
Wed, 18 Nov 2015 08:37:15 +0000 (09:37 +0100)
committerRichard Weinberger <richard@nod.at>
Tue, 8 Dec 2015 21:23:30 +0000 (22:23 +0100)
commitdb2f24dc240856fb1d78005307f1523b7b3c121b
treebcd3d684f77891d8c8cf95847de6e6d2ebd424f7
parent527e9316f8ec44bd53d90fb9f611fa7ffff52bb9
um: Fix get_signal() usage

If get_signal() returns us a signal to post
we must not call it again, otherwise the already
posted signal will be overridden.
Before commit a610d6e672d this was the case as we stopped
the while after a successful handle_signal().

Cc: <stable@vger.kernel.org> # 3.10-
Fixes: a610d6e672d ("pull clearing RESTORE_SIGMASK into block_sigmask()")
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/kernel/signal.c