From 9fefb9e3cdebcefa681672423d23ccc72ae6c165 Mon Sep 17 00:00:00 2001 From: Hristo Venev Date: Tue, 5 Dec 2017 16:30:43 +0200 Subject: [PATCH] Do not set `net.ipv4.conf.default.*` It is redundant because in these cases the values in `net.ipv4.conf.all.*` take precedence. Also, setting the `default` does nothing for devices that already exist. --- sysctl.d/50-default.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf index aff99300d9..e263cf0628 100644 --- a/sysctl.d/50-default.conf +++ b/sysctl.d/50-default.conf @@ -22,15 +22,12 @@ kernel.sysrq = 16 kernel.core_uses_pid = 1 # Source route verification -net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.all.rp_filter = 1 # Do not accept source routing -net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.all.accept_source_route = 0 # Promote secondary addresses when the primary address is removed -net.ipv4.conf.default.promote_secondaries = 1 net.ipv4.conf.all.promote_secondaries = 1 # Fair Queue CoDel packet scheduler to fight bufferbloat