Skip to content

Commit c2f4bb2

Browse files
yangxingwugregkh
authored andcommitted
net: udp: fix alignment problem in udp4_seq_show()
[ Upstream commit 6c25449 ] $ 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>
1 parent f82b48d commit c2f4bb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎net/ipv4/udp.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3006,7 +3006,7 @@ int udp4_seq_show(struct seq_file *seq, void *v)
30063006
{
30073007
seq_setwidth(seq, 127);
30083008
if (v == SEQ_START_TOKEN)
3009-
seq_puts(seq, " sl local_address rem_address st tx_queue "
3009+
seq_puts(seq, " sl local_address rem_address st tx_queue "
30103010
"rx_queue tr tm->when retrnsmt uid timeout "
30113011
"inode ref pointer drops");
30123012
else {

0 commit comments

Comments
 (0)