diff options
| author | Al Viro <[email protected]> | 2012-04-28 21:51:42 +0000 |
|---|---|---|
| committer | Al Viro <[email protected]> | 2012-05-21 18:38:24 +0000 |
| commit | 21c1176a72bd019d513b26e05d491a31b50b18d2 (patch) | |
| tree | f4b17999ea482335f50c2b7e5c2f8f5e9636fcba /net/unix/af_unix.c | |
| parent | arm: don't call try_to_freeze() from do_signal() (diff) | |
| download | kernel-21c1176a72bd019d513b26e05d491a31b50b18d2.tar.gz kernel-21c1176a72bd019d513b26e05d491a31b50b18d2.zip | |
arm: if we get into work_pending while returning to kernel mode, just go away
checking in do_signal() is pointless - if we get there with !user_mode(regs)
(and we might), we'll end up looping indefinitely. Check in work_pending
and break out of the loop if so.
Acked-by: Russell King <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
