Files
linux/net/ipv4
Randy Dunlap e63303e63c tcp: identify cryptic messages as TCP seq # bugs
[ Upstream commit e56b8ce363 ]

Attempt to make cryptic TCP seq number error messages clearer by
(1) identifying the source of the message as "TCP", (2) identifying the
errors as "seq # bug", and (3) grouping the field identifiers and values
by separating them with commas.

E.g., the following message is changed from:

recvmsg bug 2: copied 73BCB6CD seq 70F17CBE rcvnxt 73BCB9AA fl 0
WARNING: CPU: 2 PID: 1501 at /linux/net/ipv4/tcp.c:1881 tcp_recvmsg+0x649/0xb90

to:

TCP recvmsg seq # bug 2: copied 73BCB6CD, seq 70F17CBE, rcvnxt 73BCB9AA, fl 0
WARNING: CPU: 2 PID: 1501 at /linux/net/ipv4/tcp.c:2011 tcp_recvmsg+0x694/0xba0

Suggested-by: 積丹尼 Dan Jacobson <jidanni@jidanni.org>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-24 13:12:40 +02:00
..
2018-04-13 19:48:32 +02:00
2017-11-18 11:22:22 +01:00
2016-10-20 14:32:22 -04:00
2018-07-28 07:49:11 +02:00
2016-09-21 00:23:01 -04:00
2017-11-18 11:22:22 +01:00
2017-05-14 14:00:21 +02:00
2016-09-01 14:09:01 -07:00
2017-06-17 06:41:49 +02:00
2015-09-17 17:18:37 -07:00
2013-05-31 17:19:05 -07:00