From: Dave Jones Date: Mon, 13 Feb 2006 23:36:21 +0000 (-0800) Subject: [IPV4] ICMP: Invert default for invalid icmp msgs sysctl X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=77decfc716d460b3f7037bb19bd4eb12cd0dc996;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [IPV4] ICMP: Invert default for invalid icmp msgs sysctl isic can trigger these msgs to be spewed at a very high rate. There's already a sysctl to turn them off. Given these messages aren't useful for most people, this patch disables them by default. Signed-off-by: Dave Jones Signed-off-by: David S. Miller --- diff --git a/net/ipv4/icmp.c b/net/ipv4/icmp.c index 4d1c40972a4b..e7bbff4340bb 100644 --- a/net/ipv4/icmp.c +++ b/net/ipv4/icmp.c @@ -192,7 +192,7 @@ int sysctl_icmp_echo_ignore_all; int sysctl_icmp_echo_ignore_broadcasts = 1; /* Control parameter - ignore bogus broadcast responses? */ -int sysctl_icmp_ignore_bogus_error_responses; +int sysctl_icmp_ignore_bogus_error_responses = 1; /* * Configurable global rate limit.