From: patchwork-bot+netdevbpf@kernel.org
To: yuan.gao <yuan.gao@ucloud.cn>
Cc: davem@davemloft.net, dsahern@kernel.org, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
segoon@openwall.com, netdev@vger.kernel.org
Subject: Re: [PATCH] inet: ping: Fix icmp out counting
Date: Sun, 04 Jan 2026 18:22:45 +0000 [thread overview]
Message-ID: <176755096577.142863.15109109995613331415.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20251224063145.3615282-1-yuan.gao@ucloud.cn>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Wed, 24 Dec 2025 14:31:45 +0800 you wrote:
> From: "yuan.gao" <yuan.gao@ucloud.cn>
>
> When the ping program uses an IPPROTO_ICMP socket to send ICMP_ECHO
> messages, ICMP_MIB_OUTMSGS is counted twice.
>
> ping_v4_sendmsg
> ping_v4_push_pending_frames
> ip_push_pending_frames
> ip_finish_skb
> __ip_make_skb
> icmp_out_count(net, icmp_type); // first count
> icmp_out_count(sock_net(sk), user_icmph.type); // second count
>
> [...]
Here is the summary with links:
- inet: ping: Fix icmp out counting
https://git.kernel.org/netdev/net/c/4c0856c225b3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
prev parent reply other threads:[~2026-01-04 18:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-24 6:31 [PATCH] inet: ping: Fix icmp out counting yuan.gao
2025-12-24 16:08 ` Ido Schimmel
2025-12-25 6:39 ` yuan.gao
2026-01-04 18:22 ` patchwork-bot+netdevbpf [this message]
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=176755096577.142863.15109109995613331415.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=segoon@openwall.com \
--cc=yuan.gao@ucloud.cn \
/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).