summaryrefslogtreecommitdiffstats
path: root/net/xfrm/xfrm_policy.c
diff options
context:
space:
mode:
authorFan Du2013-08-15 09:49:06 +0200
committerSteffen Klassert2013-08-16 06:53:28 +0200
commit99565a6c471cbb66caa68347c195133017559943 (patch)
treeb47ff54a2eb470330980847e5e312979ac153bcf /net/xfrm/xfrm_policy.c
parentxfrm: Remove rebundant address family checking (diff)
downloadkernel-qcow2-linux-99565a6c471cbb66caa68347c195133017559943.tar.gz
kernel-qcow2-linux-99565a6c471cbb66caa68347c195133017559943.tar.xz
kernel-qcow2-linux-99565a6c471cbb66caa68347c195133017559943.zip
xfrm: Make xfrm_state timer monotonic
xfrm_state timer should be independent of system clock change, so switch to CLOCK_BOOTTIME base which is not only monotonic but also counting suspend time. Thus issue reported in commit: 9e0d57fd6dad37d72a3ca6db00ca8c76f2215454 ("xfrm: SAD entries do not expire correctly after suspend-resume") could ALSO be avoided. v2: Use CLOCK_BOOTTIME to count suspend time, but still monotonic. Signed-off-by: Fan Du <fan.du@windriver.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions