Skip to content

Commit

Permalink
ipsec: Make xfrm_larval_drop default to 1.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David S. Miller committed Sep 9, 2008
1 parent ded67c0 commit 28faa97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/xfrm/xfrm_policy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 28faa97

Please sign in to comment.