Skip to content

Commit 09339d0

Browse files
aloktiwakuba-moo
authored andcommitted
l2tp: correct debugfs label for tunnel tx stats
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> Link: https://patch.msgid.link/20251128085300.3377210-1-alok.a.tiwari@oracle.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent aadff9f commit 09339d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

net/l2tp/l2tp_debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static void l2tp_dfs_seq_tunnel_show(struct seq_file *m, void *v)
163163
seq_printf(m, " %d sessions, refcnt %d/%d\n", session_count,
164164
tunnel->sock ? refcount_read(&tunnel->sock->sk_refcnt) : 0,
165165
refcount_read(&tunnel->ref_count));
166-
seq_printf(m, " %08x rx %ld/%ld/%ld rx %ld/%ld/%ld\n",
166+
seq_printf(m, " %08x tx %ld/%ld/%ld rx %ld/%ld/%ld\n",
167167
0,
168168
atomic_long_read(&tunnel->stats.tx_packets),
169169
atomic_long_read(&tunnel->stats.tx_bytes),

0 commit comments

Comments
 (0)