From: Clara Engler <cve@cve.cx>
To: Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
davem@davemloft.net, dsahern@kernel.org, edumazet@google.com,
pabeni@redhat.com, horms@kernel.org
Subject: Re: [PATCH] ipv4: Fix log message for martian source
Date: Fri, 28 Nov 2025 17:47:33 +0100 [thread overview]
Message-ID: <aSnSJZpC8ddH7ZN0@c83cfd0f4f41d48a> (raw)
In-Reply-To: <20251127181743.2bdf214b@kernel.org>
On Thu, Nov 27, 2025 at 06:17:43PM -0800, Jakub Kicinski wrote:
> imagine there was another comma in this print:
>
> martian source, %pI4 from %pI4, on dev %s
>
> we should leave it as is, I think.
Yes, this comma indeed makes it more helpful.
Personally, my preference would lie in a format such as the following:
martian source (src={SRC}, dst={DST}, dev={DEV}
with a respective similar change to the martian destination.
> People may be grepping logs for this exact format..
I agree with you partially. For such a trivial change, it is probably
not worth to pursue this any further, but I don't think "log stability"
is something to aim for/guarantee.
Thank You
Clara
next prev parent reply other threads:[~2025-11-28 16:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-11-26 21:59 [PATCH] ipv4: Fix log message for martian source Clara Engler
2025-11-28 2:17 ` Jakub Kicinski
2025-11-28 16:47 ` Clara Engler [this message]
2025-11-28 18:47 ` Jakub Kicinski
2025-12-01 18:54 ` Clara Engler
2025-12-01 19:40 ` Jakub Kicinski
2025-12-01 21:35 ` Clara Engler
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=aSnSJZpC8ddH7ZN0@c83cfd0f4f41d48a \
--to=cve@cve.cx \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
/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