]> git.baikalelectronics.ru Git - kernel.git/commit
um: Fix possible deadlock in sig_handler_common()
authorRichard Weinberger <richard@nod.at>
Sun, 12 Jun 2016 20:03:16 +0000 (22:03 +0200)
committerRichard Weinberger <richard@nod.at>
Wed, 3 Aug 2016 22:17:58 +0000 (00:17 +0200)
commit69e1e4963d692b0db401d7bf6c87673f022457b1
treeb8535f4cb6462564b41c8e8deedde84868991874
parent86dd280d66c6cc0de69fd0fc123ceeed9dd9678a
um: Fix possible deadlock in sig_handler_common()

We are in atomic context and must not sleep.
Sleeping here is possible since malloc() maps
to kmalloc() with GFP_KERNEL.

Cc: stable@vger.kernel.org
Fixes: a6b542d3 ("um: extend fpstate to _xstate to support YMM registers")
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/os-Linux/signal.c