teknoraver / rpms / systemd

Forked from rpms/systemd 2 months ago
Clone

Blame SOURCES/0700-sysctl-prefix-ping-port-range-setting-with-a-dash.patch

3d3dc8
From 41a32aeaf5d33f253f48bfbe8d00de9d160985f7 Mon Sep 17 00:00:00 2001
3d3dc8
From: Lennart Poettering <lennart@poettering.net>
3d3dc8
Date: Fri, 26 Jul 2019 09:26:07 +0200
3d3dc8
Subject: [PATCH] sysctl: prefix ping port range setting with a dash
3d3dc8
3d3dc8
Fixes: #13177
3d3dc8
3d3dc8
Resolves: #2037807
3d3dc8
3d3dc8
(cherry picked from commit 000500c9d6347e0e2cdb92ec48fa10c0bb3ceca8)
3d3dc8
---
3d3dc8
 sysctl.d/50-default.conf | 2 +-
3d3dc8
 1 file changed, 1 insertion(+), 1 deletion(-)
3d3dc8
3d3dc8
diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf
3d3dc8
index 21ae1df13d..5156d55ca9 100644
3d3dc8
--- a/sysctl.d/50-default.conf
3d3dc8
+++ b/sysctl.d/50-default.conf
3d3dc8
@@ -39,7 +39,7 @@ net.ipv4.conf.all.promote_secondaries = 1
3d3dc8
 #   #define GID_T_MAX (((gid_t)~0U) >> 1)
3d3dc8
 # That's not so bad because values between 2^31 and 2^32-1 are reserved on
3d3dc8
 # systemd-based systems anyway: https://systemd.io/UIDS-GIDS.html#summary
3d3dc8
-net.ipv4.ping_group_range = 0 2147483647
3d3dc8
+-net.ipv4.ping_group_range = 0 2147483647
3d3dc8
 
3d3dc8
 # Fair Queue CoDel packet scheduler to fight bufferbloat
3d3dc8
 net.core.default_qdisc = fq_codel