Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95120
b: refs/heads/master
c: 5fc894b
h: refs/heads/master
v: v3
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Apr 30, 2008
1 parent d1bd367 commit ede44c1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5c193e8871b76f3bf8ed1e31f7af7c70890ebc4f
refs/heads/master: 5fc894bb4fb1de8373d1d5fb6db19204a16859e8
5 changes: 3 additions & 2 deletions trunk/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -1274,8 +1274,10 @@ void sigqueue_free(struct sigqueue *q)
}

static int do_send_sigqueue(int sig, struct sigqueue *q, struct task_struct *t,
struct sigpending *pending)
struct sigpending *pending)
{
handle_stop_signal(sig, t);

if (unlikely(!list_empty(&q->list))) {
/*
* If an SI_TIMER entry is already queue just increment
Expand Down Expand Up @@ -1335,7 +1337,6 @@ send_group_sigqueue(int sig, struct sigqueue *q, struct task_struct *p)
read_lock(&tasklist_lock);
/* Since it_lock is held, p->sighand cannot be NULL. */
spin_lock_irqsave(&p->sighand->siglock, flags);
handle_stop_signal(sig, p);

ret = do_send_sigqueue(sig, q, p, &p->signal->shared_pending);

Expand Down

0 comments on commit ede44c1

Please sign in to comment.