]> git.baikalelectronics.ru Git - 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)
commit2fbe2ff458e75ebdc81d279176ec6f030b64ced6
treebcd3d684f77891d8c8cf95847de6e6d2ebd424f7
parent0d6307f0ff0e2b8c4dd21c0e87811f2d16d3c4ce
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 e923f759449 this was the case as we stopped
the while after a successful handle_signal().

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