From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EF1ECC05027 for ; Fri, 17 Feb 2023 07:04:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229475AbjBQHEo (ORCPT ); Fri, 17 Feb 2023 02:04:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjBQHEn (ORCPT ); Fri, 17 Feb 2023 02:04:43 -0500 Received: from out-86.mta0.migadu.com (out-86.mta0.migadu.com [IPv6:2001:41d0:1004:224b::56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7D116A54 for ; Thu, 16 Feb 2023 23:04:41 -0800 (PST) Message-ID: <7aa20a67-962a-d60b-9f2d-6e22bb710c1f@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1676617479; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2OJMrzGR3XfwM6mtowcuMfhKXX90XMNBdcjbjPxrOek=; b=h+zRXVHxwQZNC2LVMd8MlteM4hyQKwQHdEN82kXM46uMzstaPTZiVBkWMYO/OI4tB3Jtrw EAokTLqVDcZ4g4+OprLqerF96eQ5KYkLruFe1N9LEKN6oYx7IZ107daCYBXlSkU2DONnEV HSjJp4xWv8PILzzBm+EMAKBPoeiJOOA= Date: Thu, 16 Feb 2023 23:04:33 -0800 MIME-Version: 1.0 Subject: Re: [PATCH bpf] selftests/bpf: enable mptcp before testing Content-Language: en-US To: Hangbin Liu Cc: netdev@vger.kernel.org, Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , bpf@vger.kernel.org, Jakub Kicinski , "David S . Miller" , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Felix Maurer , Davide Caratti , Matthieu Baerts References: <20230210093205.1378597-1-liuhangbin@gmail.com> <6f0a72ee-ec30-8c97-0285-6c53db3d4477@tessares.net> <19a6a29d-85f3-b8d7-c9d9-3c97a625bd13@tessares.net> <78481d57-4710-aa06-0ff7-fee075458aae@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Martin KaFai Lau In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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()?