diff options
author | Matthieu Baerts <[email protected]> | 2023-10-18 11:23:52 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-10-19 09:09:59 -0700 |
commit | b134a5805455d1886662a6516c965cdb9df9fbcc (patch) | |
tree | 60c29dc5394c575188fdad8db1eadcb3d60404c4 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 389db4fd673e5b122393a69b2973dd294a125573 (diff) |
selftests: mptcp: join: correctly check for no RST
The commit mentioned below was more tolerant with the number of RST seen
during a test because in some uncontrollable situations, multiple RST
can be generated.
But it was not taking into account the case where no RST are expected:
this validation was then no longer reporting issues for the 0 RST case
because it is not possible to have less than 0 RST in the counter. This
patch fixes the issue by adding a specific condition.
Fixes: 6bf41020b72b ("selftests: mptcp: update and extend fastclose test-cases")
Cc: [email protected]
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions