]> git.neil.brown.name Git - history.git/commit
[IPSEC] Add policy expiration
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 7 Jul 2003 20:55:20 +0000 (06:55 +1000)
committerDavid S. Miller <davem@nuts.ninka.net>
Mon, 7 Jul 2003 20:55:20 +0000 (06:55 +1000)
commite3e5d274657342c7b195b1fb9086ef85018854ac
treeed592989e40a62714e0a9ae7cefde29af2abeb5a
parent62859d8263638edaf58d7828206e69c2476af89f
[IPSEC] Add policy expiration

This patch finally adds policy expiration.

Note that it resends soft policy expire messages every 30 seconds.  This
is needed as when "soft use expire" is used for dead peer detection,
a lost message could lead to a dead peer that isn't discovered until the
SAs expire.

I've only implemented notification for XFRM as I didn't want to just add
another PFKEY extension in case it collides with something else.  Of
course it could be easily done for PFKEY with an extension too.
include/linux/xfrm.h
include/net/xfrm.h
net/key/af_key.c
net/xfrm/xfrm_policy.c
net/xfrm/xfrm_state.c
net/xfrm/xfrm_user.c