selftests: tcp: Remove broken SNMP assumptions for TCP AO self-connect tests.
authorKuniyuki Iwashima <kuniyu@amazon.com>
Wed, 10 Jul 2024 17:12:46 +0000 (10:12 -0700)
committerJakub Kicinski <kuba@kernel.org>
Sat, 13 Jul 2024 22:19:49 +0000 (15:19 -0700)
commitb3bb4d23a41b825c78ff4436c9dc8650b1ea5704
tree1c600bb3aa61e6b17622bf631eefe58510812780
parent23e89e8ee7be73e21200947885a6d3a109a2c58d
selftests: tcp: Remove broken SNMP assumptions for TCP AO self-connect tests.

tcp_ao/self-connect.c checked the following SNMP stats before/after
connect() to confirm that the test exercises the simultaneous connect()
path.

  * TCPChallengeACK
  * TCPSYNChallenge

But the stats should not be counted for self-connect in the first place,
and the assumption is no longer true.

Let's remove the check.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Dmitry Safonov <dima@arista.com>
Link: https://patch.msgid.link/20240710171246.87533-3-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/tcp_ao/self-connect.c