Re: [RFC PATCH]xfrm: fix perpetual bundles
From: David Miller <davem@davemloft.net>
Date: 2010-03-02 14:05:48
From: David Miller <davem@davemloft.net>
Date: 2010-03-02 14:05:48
From: jamal <redacted> Date: Tue, 02 Mar 2010 08:54:30 -0500
On Tue, 2010-03-02 at 14:46 +0100, Steffen Klassert wrote:quoted
The problem was spotted by commit a33bc5c15154c835aae26f16e6a3a7d9ad4acb45 xfrm: select sane defaults for xfrm[4|6] gc_thresh Before this commit, the xfrm garbage collector started to remove stale bundle entries as soon as we reached an amount of 1024 bundle entries. Now the default value for the gc_thresh is based on the main route table hash size, so we can have much more bundle entries.yikes. Ok. Seems this fix needs to go -stable as well then.
Jamal please do some testing then I'll push Herbert's fix around.