Re: [PATCH 1/1] net/ipv6: add sysctl option accept_ra_min_hop_limit
From: YOSHIFUJI Hideaki <hidden>
Date: 2016-01-05 10:17:29
Hi, Machida-san. Yuki Machida wrote:
Please apply the following patch to v4.1.x.
By ommit 6fd99094de2b ("ipv6: Don't reduce hop limit for an interface")s/ommit/commit/ Futher comment below. :
quoted hunk ↗ jump to hunk
Signed-off-by: Hangbin Liu <redacted> Acked-by: YOSHIFUJI Hideaki <redacted> Signed-off-by: David S. Miller <davem@davemloft.net> --- Documentation/networking/ip-sysctl.txt | 8 ++++++++ include/linux/ipv6.h | 1 + include/uapi/linux/ipv6.h | 1 + net/ipv6/addrconf.c | 10 ++++++++++ net/ipv6/ndisc.c | 16 +++++++--------- 5 files changed, 27 insertions(+), 9 deletions(-)diff --git a/Documentation/networking/ip-sysctl.txt b/Documentation/networking/ip-sysctl.txt index 071fb18..07fad3d 100644
:
quoted hunk ↗ jump to hunk
--- a/include/uapi/linux/ipv6.h +++ b/include/uapi/linux/ipv6.h@@ -171,6 +171,7 @@ enum { DEVCONF_USE_OPTIMISTIC, DEVCONF_ACCEPT_RA_MTU, DEVCONF_STABLE_SECRET,
You have to add a hole for DEVCONF_USE_OIF_ADDRS_ONLY. --yoshfuji
+ DEVCONF_ACCEPT_RA_MIN_HOP_LIMIT, DEVCONF_MAX };
-- Hideaki Yoshifuji [off-list ref] Technical Division, MIRACLE LINUX CORPORATION