1
linux/net/xfrm
Yury Polyanskiy 9e0d57fd6d xfrm: SAD entries do not expire correctly after suspend-resume
This fixes the following bug in the current implementation of
net/xfrm: SAD entries timeouts do not count the time spent by the machine 
in the suspended state. This leads to the connectivity problems because 
after resuming local machine thinks that the SAD entry is still valid, while 
it has already been expired on the remote server.

  The cause of this is very simple: the timeouts in the net/xfrm are bound to 
the old mod_timer() timers. This patch reassigns them to the
CLOCK_REALTIME hrtimer.

  I have been using this version of the patch for a few months on my
machines without any problems. Also run a few stress tests w/o any
issues.

  This version of the patch uses tasklet_hrtimer by Peter Zijlstra
(commit 9ba5f0).

  This patch is against 2.6.31.4. Please CC me.

Signed-off-by: Yury Polyanskiy <polyanskiy@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-11-08 20:58:41 -08:00
..
Kconfig ipsec: ipcomp - Merge IPComp implementations 2008-07-25 02:54:40 -07:00
Makefile netns xfrm: per-netns sysctls 2008-11-25 18:00:48 -08:00
xfrm_algo.c xfrm: remove skb_icv_walk 2009-10-18 21:32:01 -07:00
xfrm_hash.c
xfrm_hash.h Fix xfrm hash collisions by changing __xfrm4_daddr_saddr_hash to hash addresses with addition 2009-08-09 21:45:31 -07:00
xfrm_input.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_ipcomp.c ipcomp: Remove spurious truesize increase 2009-01-11 00:04:11 -08:00
xfrm_output.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_policy.c net: skb->dst accessors 2009-06-03 02:51:04 -07:00
xfrm_proc.c net: file_operations should be const 2009-09-02 01:03:53 -07:00
xfrm_state.c xfrm: SAD entries do not expire correctly after suspend-resume 2009-11-08 20:58:41 -08:00
xfrm_sysctl.c netns xfrm: per-netns sysctls 2008-11-25 18:00:48 -08:00
xfrm_user.c Revert "xfrm: For 32/64 compatability wrt. xfrm_usersa_info" 2009-01-20 09:49:51 -08:00