From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-fw-80009.amazon.com (smtp-fw-80009.amazon.com [99.78.197.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF03C86347; Fri, 21 Feb 2025 04:10:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=99.78.197.220 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740111048; cv=none; b=DM6W6dm4AvCx1bK/SgIm9rCdsiQwg8dvSRmSYH2/AyYFnE0StRaAWZ+1NdVVacEmY3C8AfS1XfLmAWgIiLEXLg76gRBFiaSHRWVdlh2gylCl69pcy0bGWTMMdjKIE1MvExNTo1urq507+NVJiS7pPyA55edsXFeCNUPNQQo3fU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740111048; c=relaxed/simple; bh=UMkeNuUBMAx4CoI2lN4QCI+fdr3yKmL6TeuEhlwbgTk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=iRpQGQAIZKzn6Sn3Meh2Xd/+NeFO6dpqn0yYiLGORd/GWwatLviQxivcOTzUohFK+KNcqpKqvGnzNZnlvNagUaK8vnfsl8IzcFu5fszSD8Bh9pThjZqGwoTJUynYM6lJeG1485xZvjduK9efTX0CgYcd5b7J8jo2IzyKPOLLW+w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com; spf=pass smtp.mailfrom=amazon.co.jp; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b=Mf5zRKpT; arc=none smtp.client-ip=99.78.197.220 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amazon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=amazon.co.jp Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amazon.com header.i=@amazon.com header.b="Mf5zRKpT" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1740111046; x=1771647046; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=hwbCjops9YNPWmDfophlYDE2t1KmR8e+5lnc5x6kKzA=; b=Mf5zRKpTvwNIqDGNV0EQ+syaLQujorr7TAf4SX3I23JZHEMXo8rZjNhZ CWlaTRZ636Eu3cTveuKVbWFx+iIeUHUeT34TssSH3Wz/gCqlOydDWiTQN tu3son2lZUuURi6XwE65g2yWLyBdj4PA06eEfWfKIAM0lTYy2rIPOLJzI g=; X-IronPort-AV: E=Sophos;i="6.13,303,1732579200"; d="scan'208";a="174489550" Received: from pdx4-co-svc-p1-lb2-vlan2.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.25.36.210]) by smtp-border-fw-80009.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2025 04:10:44 +0000 Received: from EX19MTAUWC002.ant.amazon.com [10.0.21.151:50069] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.35.58:2525] with esmtp (Farcaster) id fbfaca7d-a389-4e71-a4ee-c9c9b4945549; Fri, 21 Feb 2025 04:10:44 +0000 (UTC) X-Farcaster-Flow-ID: fbfaca7d-a389-4e71-a4ee-c9c9b4945549 Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWC002.ant.amazon.com (10.250.64.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1258.39; Fri, 21 Feb 2025 04:10:44 +0000 Received: from 6c7e67bfbae3.amazon.com (10.135.209.63) by EX19D004ANA001.ant.amazon.com (10.37.240.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA) id 15.2.1544.14; Fri, 21 Feb 2025 04:10:39 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH net-next v10 09/13] net: xfrm: Use link netns in newlink() of rtnl_link_ops Date: Thu, 20 Feb 2025 20:10:30 -0800 Message-ID: <20250221041030.78359-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20250219125039.18024-10-shaw.leon@gmail.com> References: <20250219125039.18024-10-shaw.leon@gmail.com> Precedence: bulk X-Mailing-List: linux-can@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: EX19D035UWB003.ant.amazon.com (10.13.138.85) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: Xiao Liang Date: Wed, 19 Feb 2025 20:50:35 +0800 > When link_net is set, use it as link netns instead of dev_net(). This > prepares for rtnetlink core to create device in target netns directly, > in which case the two namespaces may be different. > > Signed-off-by: Xiao Liang Reviewed-by: Kuniyuki Iwashima