From: Stephen Hemminger <shemming@brocade.com>
To: Phil Sutter <phil@nwl.cc>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [iproute PATCH] route: ignore RTAX_HOPLIMIT of value -1
Date: Thu, 10 Dec 2015 08:48:46 -0800 [thread overview]
Message-ID: <20151210084846.5f31b140@xeon-e3> (raw)
In-Reply-To: <564c2ede04884ee5905825d6363107a2@HQ1WP-EXMB11.corp.brocade.com>
On Wed, 2 Dec 2015 12:50:22 +0000
Phil Sutter <phil@nwl.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@nwl.cc>
> ---
> ip/iproute.c | 17 ++++++++---------
> 1 file changed, 8 insertions(+), 9 deletions(-)
Applied, thanks
next parent reply other threads:[~2015-12-10 16:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <564c2ede04884ee5905825d6363107a2@HQ1WP-EXMB11.corp.brocade.com>
2015-12-10 16:48 ` Stephen Hemminger [this message]
2015-12-02 12:50 [iproute PATCH] route: ignore RTAX_HOPLIMIT of value -1 Phil Sutter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151210084846.5f31b140@xeon-e3 \
--to=shemming@brocade.com \
--cc=netdev@vger.kernel.org \
--cc=phil@nwl.cc \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).