netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net: udp: fix alignment problem in udp4_seq_show()
@ 2021-12-27  8:29 yangxingwu
  2021-12-27 14:50 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: yangxingwu @ 2021-12-27  8:29 UTC (permalink / raw)
  To: davem
  Cc: yoshfuji, dsahern, kuba, ast, daniel, andrii, kafai,
	songliubraving, yhs, john.fastabend, kpsingh, netdev,
	linux-kernel, bpf, yangxingwu

$ cat /pro/net/udp

before:

  sl  local_address rem_address   st tx_queue rx_queue tr tm->when
26050: 0100007F:0035 00000000:0000 07 00000000:00000000 00:00000000
26320: 0100007F:0143 00000000:0000 07 00000000:00000000 00:00000000
27135: 00000000:8472 00000000:0000 07 00000000:00000000 00:00000000

after:

   sl  local_address rem_address   st tx_queue rx_queue tr tm->when
26050: 0100007F:0035 00000000:0000 07 00000000:00000000 00:00000000
26320: 0100007F:0143 00000000:0000 07 00000000:00000000 00:00000000
27135: 00000000:8472 00000000:0000 07 00000000:00000000 00:00000000

Signed-off-by: yangxingwu <xingwu.yang@gmail.com>
---
 net/ipv4/udp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c
index 15c6b450b8db..0cd6b857e7ec 100644
--- a/net/ipv4/udp.c
+++ b/net/ipv4/udp.c
@@ -3075,7 +3075,7 @@ int udp4_seq_show(struct seq_file *seq, void *v)
 {
 	seq_setwidth(seq, 127);
 	if (v == SEQ_START_TOKEN)
-		seq_puts(seq, "  sl  local_address rem_address   st tx_queue "
+		seq_puts(seq, "   sl  local_address rem_address   st tx_queue "
 			   "rx_queue tr tm->when retrnsmt   uid  timeout "
 			   "inode ref pointer drops");
 	else {
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: udp: fix alignment problem in udp4_seq_show()
  2021-12-27  8:29 [PATCH] net: udp: fix alignment problem in udp4_seq_show() yangxingwu
@ 2021-12-27 14:50 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-12-27 14:50 UTC (permalink / raw)
  To: yangxingwu
  Cc: davem, yoshfuji, dsahern, kuba, ast, daniel, andrii, kafai,
	songliubraving, yhs, john.fastabend, kpsingh, netdev,
	linux-kernel, bpf

Hello:

This patch was applied to netdev/net.git (master)
by David S. Miller <davem@davemloft.net>:

On Mon, 27 Dec 2021 16:29:51 +0800 you wrote:
> $ cat /pro/net/udp
> 
> before:
> 
>   sl  local_address rem_address   st tx_queue rx_queue tr tm->when
> 26050: 0100007F:0035 00000000:0000 07 00000000:00000000 00:00000000
> 26320: 0100007F:0143 00000000:0000 07 00000000:00000000 00:00000000
> 27135: 00000000:8472 00000000:0000 07 00000000:00000000 00:00000000
> 
> [...]

Here is the summary with links:
  - net: udp: fix alignment problem in udp4_seq_show()
    https://git.kernel.org/netdev/net/c/6c25449e1a32

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] 2+ messages in thread

end of thread, other threads:[~2021-12-27 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-27  8:29 [PATCH] net: udp: fix alignment problem in udp4_seq_show() yangxingwu
2021-12-27 14:50 ` 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).