commit | e3c0d04750751389d5116267f8cf4687444d9a50 | [log] [tgz] |
---|---|---|
author | Fan Du <fdu@windriver.com> | Mon Jul 30 21:43:54 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Aug 02 00:19:17 2012 -0700 |
tree | dfa831b0d4fc388da81ccc0f8f3ce4f62c3916f4 | |
parent | 1485348d2424e1131ea42efc033cbd9366462b01 [diff] |
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: Fan Du <fdu@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>