diff options
| author | Matthieu Baerts <[email protected]> | 2022-11-15 22:10:45 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-11-18 05:43:57 +0000 |
| commit | 7e68d31020f18f8d695d5f143fc16cdaa96166cb (patch) | |
| tree | 64b444486239d9f6a9d4b1b6f19a3b0fadf78df5 /net/tipc/node.c | |
| parent | selftests: mptcp: gives slow test-case more time (diff) | |
| download | kernel-7e68d31020f18f8d695d5f143fc16cdaa96166cb.tar.gz kernel-7e68d31020f18f8d695d5f143fc16cdaa96166cb.zip | |
selftests: mptcp: run mptcp_sockopt from a new netns
Not running it from a new netns causes issues if some MPTCP settings are
modified, e.g. if MPTCP is disabled from the sysctl knob, if multiple
addresses are available and added to the MPTCP path-manager, etc.
In these cases, the created connection will not behave as expected, e.g.
unable to create an MPTCP socket, more than one subflow is seen, etc.
A new "sandbox" net namespace is now created and used to run
mptcp_sockopt from this controlled environment.
Fixes: ce9979129a0b ("selftests: mptcp: add mptcp getsockopt test cases")
Reviewed-by: Mat Martineau <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
