Subject: Re: [PATCH bpf] selftests/bpf: enable mptcp before testing

From: Martin KaFai Lau <[email-masked]>
Date: Thu, 16 Feb 2023 23:04:33 -0800

On 2/16/23 12:13 AM, Hangbin Liu wrote:
> On Wed, Feb 15, 2023 at 10:58:20AM +0100, Matthieu Baerts wrote:
>> Hi Hangbin, Martin,
>>
>> Thank you both for your replies!
>>
>> Yes, that would be good to have this test running in a dedicated NS.
>>
>> Then mptcp.enabled can be forced using write_sysctl() or SYS("sysctl (...)".
>>
> 
> Hi Matt, Martin,
> 
> I tried to set make mptcp test in netns, like decap_sanity.c does. But I got
> error when delete the netns. e.g.
> 
> # ./test_progs -t mptcp
> Cannot remove namespace file "/var/run/netns/mptcp_ns": Device or resource busy

Could you try to create and delete netns after test__join_cgroup()?