Skip to content
Commit e3c0d047 authored by Fan Du's avatar Fan Du Committed by David S. Miller
Browse files

Fix unexpected SA hard expiration after changing date



After SA is setup, one timer is armed to detect soft/hard expiration,
however the timer handler uses xtime to do the math. This makes hard
expiration occurs first before soft expiration after setting new date
with big interval. As a result new child SA is deleted before rekeying
the new one.

Signed-off-by: default avatarFan Du <fdu@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1485348d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment