diff options
author | Eric Dumazet <[email protected]> | 2023-11-14 17:23:41 +0000 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-11-16 23:35:12 +0000 |
commit | 0a8de364ff7a14558e9676f424283148110384d6 (patch) | |
tree | c173673d5fb2dc3dd62efba9e2cc6d4fc5b015a9 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 14dd92d0a1174d3fe052bf87a3ae3a6914946170 (diff) |
tcp: no longer abort SYN_SENT when receiving some ICMP
Currently, non fatal ICMP messages received on behalf
of SYN_SENT sockets do call tcp_ld_RTO_revert()
to implement RFC 6069, but immediately call tcp_done(),
thus aborting the connect() attempt.
This violates RFC 1122 following requirement:
4.2.3.9 ICMP Messages
...
o Destination Unreachable -- codes 0, 1, 5
Since these Unreachable messages indicate soft error
conditions, TCP MUST NOT abort the connection, and it
SHOULD make the information available to the
application.
This patch makes sure non 'fatal' ICMP[v6] messages do not
abort the connection attempt.
It enables RFC 6069 for SYN_SENT sockets as a result.
Signed-off-by: Eric Dumazet <[email protected]>
Cc: David Morley <[email protected]>
Cc: Neal Cardwell <[email protected]>
Cc: Yuchung Cheng <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions