Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96998
b: refs/heads/master
c: fcaf1eb
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Al Viro committed May 17, 2008
1 parent 6998c42 commit 8fc6272
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 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: 6ee650467d5bf972d10441e99688e9b48171f99c
refs/heads/master: fcaf1eb8685a00a99259e138e403841e984385b0
11 changes: 6 additions & 5 deletions trunk/kernel/audit.c
Original file line number Diff line number Diff line change
Expand Up @@ -572,16 +572,17 @@ void audit_send_reply(int pid, int seq, int type, int done, int multi,

skb = audit_make_reply(pid, seq, type, done, multi, payload, size);
if (!skb)
return;
goto out;

reply->pid = pid;
reply->skb = skb;

tsk = kthread_run(audit_send_reply_thread, reply, "audit_send_reply");
if (IS_ERR(tsk)) {
kfree(reply);
kfree_skb(skb);
}
if (!IS_ERR(tsk))
return;
kfree_skb(skb);
out:
kfree(reply);
}

/*
Expand Down

0 comments on commit 8fc6272

Please sign in to comment.