* [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats
@ 2025-11-28 8:52 Alok Tiwari
2025-11-29 17:57 ` Simon Horman
2025-12-01 21:10 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 3+ messages in thread
From: Alok Tiwari @ 2025-11-28 8:52 UTC (permalink / raw)
To: kuba, davem, edumazet, pabeni, horms, netdev
Cc: alok.a.tiwarilinux, alok.a.tiwari
l2tp_dfs_seq_tunnel_show prints two groups of tunnel statistics. The
first group reports transmit counters, but the code labels it as rx.
Set the label to "tx" so the debugfs output reflects the actual meaning.
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
---
net/l2tp/l2tp_debugfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/l2tp/l2tp_debugfs.c b/net/l2tp/l2tp_debugfs.c
index 2d0c8275a3a8..5cfaab7d0890 100644
--- a/net/l2tp/l2tp_debugfs.c
+++ b/net/l2tp/l2tp_debugfs.c
@@ -163,7 +163,7 @@ static void l2tp_dfs_seq_tunnel_show(struct seq_file *m, void *v)
seq_printf(m, " %d sessions, refcnt %d/%d\n", session_count,
tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0,
refcount_read(&tunnel->ref_count));
- seq_printf(m, " %08x rx %ld/%ld/%ld rx %ld/%ld/%ld\n",
+ seq_printf(m, " %08x tx %ld/%ld/%ld rx %ld/%ld/%ld\n",
0,
atomic_long_read(&tunnel->stats.tx_packets),
atomic_long_read(&tunnel->stats.tx_bytes),
--
2.50.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats
2025-11-28 8:52 [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats Alok Tiwari
@ 2025-11-29 17:57 ` Simon Horman
2025-12-01 21:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: Simon Horman @ 2025-11-29 17:57 UTC (permalink / raw)
To: Alok Tiwari; +Cc: kuba, davem, edumazet, pabeni, netdev, alok.a.tiwarilinux
On Fri, Nov 28, 2025 at 12:52:57AM -0800, Alok Tiwari wrote:
> l2tp_dfs_seq_tunnel_show prints two groups of tunnel statistics. The
> first group reports transmit counters, but the code labels it as rx.
> Set the label to "tx" so the debugfs output reflects the actual meaning.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats
2025-11-28 8:52 [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats Alok Tiwari
2025-11-29 17:57 ` Simon Horman
@ 2025-12-01 21:10 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-12-01 21:10 UTC (permalink / raw)
To: Alok Tiwari
Cc: kuba, davem, edumazet, pabeni, horms, netdev, alok.a.tiwarilinux
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Fri, 28 Nov 2025 00:52:57 -0800 you wrote:
> l2tp_dfs_seq_tunnel_show prints two groups of tunnel statistics. The
> first group reports transmit counters, but the code labels it as rx.
> Set the label to "tx" so the debugfs output reflects the actual meaning.
>
> Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
> ---
> net/l2tp/l2tp_debugfs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Here is the summary with links:
- [net-next] l2tp: correct debugfs label for tunnel tx stats
https://git.kernel.org/netdev/net-next/c/09339d0d8310
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-12-01 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-28 8:52 [PATCH net-next] l2tp: correct debugfs label for tunnel tx stats Alok Tiwari
2025-11-29 17:57 ` Simon Horman
2025-12-01 21:10 ` patchwork-bot+netdevbpf
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).