]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ipsec: Make xfrm_larval_drop default to 1.
authorDavid S. Miller <davem@davemloft.net>
Tue, 9 Sep 2008 23:08:51 +0000 (16:08 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Sep 2008 23:08:51 +0000 (16:08 -0700)
The previous default behavior is definitely the least user
friendly.  Hanging there forever just because the keying
daemon is wedged or the refreshing of the policy can't move
forward is anti-social to say the least.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_policy.c

index 46914b79d850abcba3a4d26b1e28d0b187f33309..638bb5ff99a65a1238a4e8c0f487fd28f37c55a3 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "xfrm_hash.h"
 
-int sysctl_xfrm_larval_drop __read_mostly;
+int sysctl_xfrm_larval_drop __read_mostly = 1;
 
 #ifdef CONFIG_XFRM_STATISTICS
 DEFINE_SNMP_STAT(struct linux_xfrm_mib, xfrm_statistics) __read_mostly;