[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.
Showing
Please register or sign in to comment