Commit cd23f93
selftests: mptcp: validate MPJoinRejected counter
The parent commit adds this new counter, incremented when receiving a
connection request, if the PM didn't allow the creation of new subflows.
Most of the time, it is then kept at 0, except when the PM limits cause
the receiver side to reject new MPJoin connections. This is the case in
the following tests:
- single subflow, limited by server
- multiple subflows, limited by server
- subflows limited by server w cookies
- userspace pm type rejects join
- userspace pm type prevents mp_prio
Simply set join_syn_rej=1 when checking the MPJoin counters for these
tests.
Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>1 parent 456fbd1 commit cd23f93
1 file changed
+21
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
1403 | 1404 | | |
1404 | 1405 | | |
1405 | 1406 | | |
| 1407 | + | |
1406 | 1408 | | |
1407 | 1409 | | |
1408 | 1410 | | |
| |||
1468 | 1470 | | |
1469 | 1471 | | |
1470 | 1472 | | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
| 1476 | + | |
| 1477 | + | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
1471 | 1482 | | |
1472 | 1483 | | |
1473 | 1484 | | |
| |||
1963 | 1974 | | |
1964 | 1975 | | |
1965 | 1976 | | |
1966 | | - | |
| 1977 | + | |
| 1978 | + | |
1967 | 1979 | | |
1968 | 1980 | | |
1969 | 1981 | | |
| |||
1992 | 2004 | | |
1993 | 2005 | | |
1994 | 2006 | | |
1995 | | - | |
| 2007 | + | |
| 2008 | + | |
1996 | 2009 | | |
1997 | 2010 | | |
1998 | 2011 | | |
| |||
3061 | 3074 | | |
3062 | 3075 | | |
3063 | 3076 | | |
3064 | | - | |
| 3077 | + | |
| 3078 | + | |
3065 | 3079 | | |
3066 | 3080 | | |
3067 | 3081 | | |
| |||
3545 | 3559 | | |
3546 | 3560 | | |
3547 | 3561 | | |
3548 | | - | |
| 3562 | + | |
| 3563 | + | |
3549 | 3564 | | |
3550 | 3565 | | |
3551 | 3566 | | |
| |||
3568 | 3583 | | |
3569 | 3584 | | |
3570 | 3585 | | |
3571 | | - | |
| 3586 | + | |
| 3587 | + | |
3572 | 3588 | | |
3573 | 3589 | | |
3574 | 3590 | | |
| |||
0 commit comments