diff options
author | Jamal Hadi Salim <hadi@cyberus.ca> | 2006-03-20 22:17:25 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 22:17:25 -0500 |
commit | 6c5c8ca7ff20523e427b955aa84cef407934710f (patch) | |
tree | 382a4b07027efd8a41638ed9c051cc9ec2506f0b /net/xfrm/xfrm_state.c | |
parent | 53bc6b4d29c07664f3abe029b7e6878a1067899a (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.c | 3 |
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 | } |
962 | EXPORT_SYMBOL(km_new_mapping); | 962 | EXPORT_SYMBOL(km_new_mapping); |
963 | 963 | ||
964 | void km_policy_expired(struct xfrm_policy *pol, int dir, int hard) | 964 | void 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 | ||