diff options
author | Mohammad Nassiri <[email protected]> | 2024-01-30 03:51:52 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-01-31 16:33:30 -0800 |
commit | d8f5df1fcea54923b74558035b8de8fb2da3e816 (patch) | |
tree | b49c52086ba2ad0452ab1214a4cbaca1d30369b8 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 585b40e25dc9ff3d2b03d1495150540849009e5b (diff) |
selftests/net: Argument value mismatch when calling verify_counters()
The end_server() function only operates in the server thread
and always takes an accept socket instead of a listen socket as
its input argument. To align with this, invert the boolean values
used when calling verify_counters() within the end_server() function.
As a result of this typo, the test didn't correctly check for
the non-symmetrical scenario, where i.e. peer-A uses a key <100:200>
to send data, but peer-B uses another key <105:205> to send its data.
So, in simple words, different keys for TX and RX.
Fixes: 3c3ead555648 ("selftests/net: Add TCP-AO key-management test")
Signed-off-by: Mohammad Nassiri <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
[amended 'Fixes' tag, added the issue description and carried-over to lkml]
Signed-off-by: Dmitry Safonov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions