Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265038
b: refs/heads/master
c: aec01c5
h: refs/heads/master
v: v3
  • Loading branch information
Serge Hallyn authored and Greg Kroah-Hartman committed Sep 26, 2011
1 parent 905032a commit 0f23a56
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5c12e7856d75f68c1ca8372d6cc76cdbc71763c0
refs/heads/master: aec01c5895051849ed842dc5b8794017a7751f28
6 changes: 4 additions & 2 deletions trunk/drivers/usb/core/devio.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ static void async_completed(struct urb *urb)
sinfo.si_errno = as->status;
sinfo.si_code = SI_ASYNCIO;
sinfo.si_addr = as->userurb;
pid = as->pid;
pid = get_pid(as->pid);
uid = as->uid;
euid = as->euid;
secid = as->secid;
Expand All @@ -422,9 +422,11 @@ static void async_completed(struct urb *urb)
cancel_bulk_urbs(ps, as->bulk_addr);
spin_unlock(&ps->lock);

if (signr)
if (signr) {
kill_pid_info_as_uid(sinfo.si_signo, &sinfo, pid, uid,
euid, secid);
put_pid(pid);
}

wake_up(&ps->wait);
}
Expand Down

0 comments on commit 0f23a56

Please sign in to comment.