Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327835
b: refs/heads/master
c: c6bb813
h: refs/heads/master
i:
  327833: feff063
  327831: f0f26ff
v: v3
  • Loading branch information
Eric W. Biederman authored and David S. Miller committed Sep 10, 2012
1 parent 773b964 commit 8d707d6
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 15e473046cb6e5d18a4d0057e61d76315230382b
refs/heads/master: c6bb8136c95ce16545f8c4028e958c0ee6c86f23
4 changes: 2 additions & 2 deletions trunk/net/xfrm/xfrm_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -1930,7 +1930,7 @@ static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
// reset the timers here?
WARN(1, "Dont know what to do with soft policy expire\n");
}
km_policy_expired(xp, p->dir, up->hard, current->pid);
km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid);

out:
xfrm_pol_put(xp);
Expand Down Expand Up @@ -1958,7 +1958,7 @@ static int xfrm_add_sa_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
err = -EINVAL;
if (x->km.state != XFRM_STATE_VALID)
goto out;
km_state_expired(x, ue->hard, current->pid);
km_state_expired(x, ue->hard, nlh->nlmsg_pid);

if (ue->hard) {
uid_t loginuid = audit_get_loginuid(current);
Expand Down

0 comments on commit 8d707d6

Please sign in to comment.