Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp63661ybd; Fri, 28 Jun 2019 14:36:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzbvUMBTNxXMhp2wP7r+nCKyZczOoWfaSAL2xsqSKNjtHIDm5m3vlAFd01ufGRUXcNDZ+Uv X-Received: by 2002:a63:62c5:: with SMTP id w188mr144519pgb.129.1561757809425; Fri, 28 Jun 2019 14:36:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561757809; cv=none; d=google.com; s=arc-20160816; b=jcreieqikN20Zc975RbZXGs5v0Z7MdCEQ6KOIS8KBvwioyn/w+qGPVWWJGmDLMDm8G AgfQ5y5ThSbEf5NNwQyn/4PwxPTgTXY8g2IqDSx0owbMc9uMoHXBckyaXXnIxK8KKKGB NwCZoycrF10Ud5JsWHovOUY/7fByRzY8O7oXDbUj+ZQ7Z8gJL9/mKCbCsjehcVEiBOv1 WRPCT26pknUp+3Ln2zWQlic4krSnIcSCunQFqVTz5lMQWY/dQ4kkbblPSiu3OAzsUUdT MR5QT/pLitxoBJKT8OqOOjRwFLjZkeFNYeHtklPZp6zzkR6SW61AGCaUagp2aHnACZga ZVQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=whxIU4Rd7gtjOjppLZbm+ZNfxfHZfAq1VxFehHgOXHk=; b=ix7hjve7wjTd6IVMEqNGB/TBo1gVshXiXaoxONCT6258WyMxANbqsY6vZY9lHgULUx KUcDxMkRoWOBYS+Yqboo/LmwS/n0za22nw2hwudRaCX08/cDrRrIcVCEKSgvFrMqAQx0 wExH/6CtIeYvMmtVNKY832IeGheHfTKF+BBGqjzQTYTpi+dU8qnZl2qSRoH2R4L7o9O/ Qg/SbzFg+QMcqulrU7HxzpWaEM1tOetzaHRaLZRN69rhNkM4MR4Q5bUQLuWyZmw+tbkd V2FAigZkRbR8O5v5qBb5DpNbh1mmcz/YRdtD5J/FSHxnrfDhf3//XYF8/BPlrl1LweJk rqNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s21si3132722plq.95.2019.06.28.14.36.31; Fri, 28 Jun 2019 14:36:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726766AbfF1Vex (ORCPT + 99 others); Fri, 28 Jun 2019 17:34:53 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:52182 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbfF1Vew (ORCPT ); Fri, 28 Jun 2019 17:34:52 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 1FE9613AECA1E; Fri, 28 Jun 2019 14:34:52 -0700 (PDT) Date: Fri, 28 Jun 2019 14:34:51 -0700 (PDT) Message-Id: <20190628.143451.2154118272310072917.davem@davemloft.net> To: christian@brauner.io Cc: kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] ipv4: enable route flushing in network namespaces From: David Miller In-Reply-To: <20190624132923.16792-1-christian@brauner.io> References: <20190624132923.16792-1-christian@brauner.io> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 28 Jun 2019 14:34:52 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Christian Brauner Date: Mon, 24 Jun 2019 15:29:23 +0200 > Tools such as vpnc try to flush routes when run inside network > namespaces by writing 1 into /proc/sys/net/ipv4/route/flush. This > currently does not work because flush is not enabled in non-initial > network namespaces. > Since routes are per network namespace it is safe to enable > /proc/sys/net/ipv4/route/flush in there. > > Link: https://github.com/lxc/lxd/issues/4257 > Signed-off-by: Christian Brauner Applied.