[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20151210084846.5f31b140@xeon-e3>
Date: Thu, 10 Dec 2015 08:48:46 -0800
From: Stephen Hemminger <shemming@...cade.com>
To: Phil Sutter <phil@....cc>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: Re: [iproute PATCH] route: ignore RTAX_HOPLIMIT of value -1
On Wed, 2 Dec 2015 12:50:22 +0000
Phil Sutter <phil@....cc> wrote:
> Older kernels use -1 internally as indicator to use the sysctl default,
> but they still export the setting. Newer kernels use 0 to indicate that
> (which is why the conversion from -1 to 0 was done here), but they also
> stopped exporting the value. Since the meaning of -1 is clear, treat it
> equally like default on newer kernels (which is to not print anything).
>
> Signed-off-by: Phil Sutter <phil@....cc>
> ---
> ip/iproute.c | 17 ++++++++---------
> 1 file changed, 8 insertions(+), 9 deletions(-)
Applied, thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists