diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2018-07-18 04:27:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-19 01:26:33 +0300 |
commit | e56b8ce363a36fb7b74b80aaa5cc9084f2c908b4 (patch) | |
tree | ad9b631bcfcf48e2e979b747544d7ac153e3bd19 /kernel/tracepoint.c | |
parent | 9ba8376ce1e2cbf4ce44f7e4bee1d0648e10d594 (diff) | |
download | linux-e56b8ce363a36fb7b74b80aaa5cc9084f2c908b4.tar.xz |
tcp: identify cryptic messages as TCP seq # bugs
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>
Diffstat (limited to 'kernel/tracepoint.c')
0 files changed, 0 insertions, 0 deletions