aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/xfrm/xfrm_user.c')
-rw-r--r--net/xfrm/xfrm_user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/xfrm/xfrm_user.c b/net/xfrm/xfrm_user.c
index b313d932d67..5d6eb4b3c08 100644
--- a/net/xfrm/xfrm_user.c
+++ b/net/xfrm/xfrm_user.c
@@ -1930,7 +1930,7 @@ static int xfrm_add_pol_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
1930 // reset the timers here? 1930 // reset the timers here?
1931 WARN(1, "Dont know what to do with soft policy expire\n"); 1931 WARN(1, "Dont know what to do with soft policy expire\n");
1932 } 1932 }
1933 km_policy_expired(xp, p->dir, up->hard, current->pid); 1933 km_policy_expired(xp, p->dir, up->hard, nlh->nlmsg_pid);
1934 1934
1935out: 1935out:
1936 xfrm_pol_put(xp); 1936 xfrm_pol_put(xp);
@@ -1958,7 +1958,7 @@ static int xfrm_add_sa_expire(struct sk_buff *skb, struct nlmsghdr *nlh,
1958 err = -EINVAL; 1958 err = -EINVAL;
1959 if (x->km.state != XFRM_STATE_VALID) 1959 if (x->km.state != XFRM_STATE_VALID)
1960 goto out; 1960 goto out;
1961 km_state_expired(x, ue->hard, current->pid); 1961 km_state_expired(x, ue->hard, nlh->nlmsg_pid);
1962 1962
1963 if (ue->hard) { 1963 if (ue->hard) {
1964 uid_t loginuid = audit_get_loginuid(current); 1964 uid_t loginuid = audit_get_loginuid(current);