projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'origin' into devel-stable
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
signal.c
diff --git
a/kernel/signal.c
b/kernel/signal.c
index 5bb9baffa4f121c732b05ab568e37484a02a537c..dbd7fe073c558dbc57080e7d0d9344b2cf47b2dd 100644
(file)
--- a/
kernel/signal.c
+++ b/
kernel/signal.c
@@
-245,7
+245,7
@@
__sigqueue_alloc(int sig, struct task_struct *t, gfp_t flags, int override_rlimi
if (override_rlimit ||
atomic_read(&user->sigpending) <=
- t
->signal->rlim[RLIMIT_SIGPENDING].rlim_cur
) {
+ t
ask_rlimit(t, RLIMIT_SIGPENDING)
) {
q = kmem_cache_alloc(sigqueue_cachep, flags);
} else {
print_dropped_signal(sig);