diff options
-rw-r--r-- | mm/oom_kill.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/oom_kill.c b/mm/oom_kill.c index 2f3916986abf..af981b645a69 100644 --- a/mm/oom_kill.c +++ b/mm/oom_kill.c | |||
@@ -333,7 +333,7 @@ static int oom_kill_task(struct task_struct *p) | |||
333 | */ | 333 | */ |
334 | do_each_thread(g, q) { | 334 | do_each_thread(g, q) { |
335 | if (q->mm == mm && q->tgid != p->tgid) | 335 | if (q->mm == mm && q->tgid != p->tgid) |
336 | force_sig(SIGKILL, p); | 336 | force_sig(SIGKILL, q); |
337 | } while_each_thread(g, q); | 337 | } while_each_thread(g, q); |
338 | 338 | ||
339 | return 0; | 339 | return 0; |