aboutsummaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_state.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <hadi@cyberus.ca>2006-03-20 22:17:25 -0500
committerDavid S. Miller <davem@davemloft.net>2006-03-20 22:17:25 -0500
commit6c5c8ca7ff20523e427b955aa84cef407934710f (patch)
tree382a4b07027efd8a41638ed9c051cc9ec2506f0b /net/xfrm/xfrm_state.c
parent53bc6b4d29c07664f3abe029b7e6878a1067899a (diff)
[IPSEC]: Sync series - policy expires
This is similar to the SA expire insertion patch - only it inserts expires for SP. Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_state.c')
-rw-r--r--net/xfrm/xfrm_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/xfrm/xfrm_state.c b/net/xfrm/xfrm_state.c
index 7784adbb3362..8df547d7d61c 100644
--- a/net/xfrm/xfrm_state.c
+++ b/net/xfrm/xfrm_state.c
@@ -961,11 +961,12 @@ int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, u16 sport)
961} 961}
962EXPORT_SYMBOL(km_new_mapping); 962EXPORT_SYMBOL(km_new_mapping);
963 963
964void km_policy_expired(struct xfrm_policy *pol, int dir, int hard) 964void km_policy_expired(struct xfrm_policy *pol, int dir, int hard, u32 pid)
965{ 965{
966 struct km_event c; 966 struct km_event c;
967 967
968 c.data.hard = hard; 968 c.data.hard = hard;
969 c.pid = pid;
969 c.event = XFRM_MSG_POLEXPIRE; 970 c.event = XFRM_MSG_POLEXPIRE;
970 km_policy_notify(pol, dir, &c); 971 km_policy_notify(pol, dir, &c);
971 972