projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
294f3fc
)
net: udp: fix alignment problem in udp4_seq_show()
author
yangxingwu
<xingwu.yang@gmail.com>
Mon, 27 Dec 2021 08:29:51 +0000
(16:29 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 11 Jan 2022 14:35:18 +0000
(15:35 +0100)
[ Upstream commit
6c25449e1a32c594d743df8e8258e8ef870b6a77
]
$ 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv4/udp.c
patch
|
blob
|
history
diff --git
a/net/ipv4/udp.c
b/net/ipv4/udp.c
index be07e3d2b77bcd8a1c08e8e7f5a91a45605e5123..835b9d6e4e686e9580801ee1e5a0a67bf506536e 100644
(file)
--- a/
net/ipv4/udp.c
+++ b/
net/ipv4/udp.c
@@
-3076,7
+3076,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 {