From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lorenzo Bianconi Subject: [PATCH v2 net-next 0/2] do not allow adding routes if disable_ipv6 is enabled Date: Thu, 29 Mar 2018 11:02:23 +0200 Message-ID: Cc: netdev@vger.kernel.org To: davem@davemloft.net Return-path: Received: from mail-wm0-f47.google.com ([74.125.82.47]:36127 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750946AbeC2JCc (ORCPT ); Thu, 29 Mar 2018 05:02:32 -0400 Received: by mail-wm0-f47.google.com with SMTP id x82so10131683wmg.1 for ; Thu, 29 Mar 2018 02:02:31 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Do not allow userspace to add static ipv6 routes if disable_ipv6 is enabled. Update disable_ipv6 documentation according to that change Changes since v1: - added an extack message telling the user that IPv6 is disabled on the nexthop device - rebased on-top of net-next Lorenzo Bianconi (2): ipv6: do not set routes if disable_ipv6 has been enabled Documentation: ip-sysctl.txt: clarify disable_ipv6 Documentation/networking/ip-sysctl.txt | 4 +++- net/ipv6/route.c | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) -- 2.14.3