From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp-fw-80008.amazon.com (smtp-fw-80008.amazon.com [99.78.197.219]) (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 87FD71367; Fri, 21 Feb 2025 04:17:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=99.78.197.219 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740111422; cv=none; b=tpurKS/T7F0G6p+OYEjKiVpAVEPyNQgrnXAaq0BtpbwuqZQir7g0ilAq0MbMhnVcUxpPs73yW84jJw1k1NQ6PGjdToFlrDEOwOlo+K2tKu0BwdKohTm4nnMCB9LD4Wo2YcjcIGkJz7y0y4tOkvprorTyf9IDcfe1ZQFJuoXhcdo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740111422; c=relaxed/simple; bh=Esg0+MPPM15uaOdVXzF/MSCj0bUc/MRrHxpLbvSdgtk=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=IMuK8/mC0HhFX3APh1m756JQyeNtPyW0Z7/evapNt3lwp8e2Z/K9aAqjetyFkLQeBR60s8PdD3m9jMKMrvQGUriHWPJkF8U5YGRJWaedhW+R6XaEXg5Nyk3m0qa3+ZMw31OJWVlt3XjHgY2gDwtBcdl0Vc1iOAayc/IUlFd8IjQ= 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=RkkvPJd8; arc=none smtp.client-ip=99.78.197.219 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="RkkvPJd8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1740111420; x=1771647420; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=2RBr407lfpNcQNLCj0KAWf8UC6PZVgFWPwamtTvf6ec=; b=RkkvPJd8TMDI5ceL0p4sD25LzP6k/4tr+FtSc5of12DwvEPmYNH5Td4b qNWRY+jX3G8xw6z3vEenLshzYaEu09LTByVimVgLycXwD8ASqaxGRG8kS fA13ZaYSM6v9SgNlkmJGDnPrUTJhIvCHKp4dP90jZelIWnFE2nLM3/nGF U=; X-IronPort-AV: E=Sophos;i="6.13,303,1732579200"; d="scan'208";a="171697267" Received: from pdx4-co-svc-p1-lb2-vlan3.amazon.com (HELO smtpout.prod.us-west-2.prod.farcaster.email.amazon.dev) ([10.25.36.214]) by smtp-border-fw-80008.pdx80.corp.amazon.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2025 04:16:58 +0000 Received: from EX19MTAUWA002.ant.amazon.com [10.0.38.20:44806] by smtpin.naws.us-west-2.prod.farcaster.email.amazon.dev [10.0.18.70:2525] with esmtp (Farcaster) id 3d34885b-f494-4c98-a1a4-c9b8261fc88d; Fri, 21 Feb 2025 04:16:58 +0000 (UTC) X-Farcaster-Flow-ID: 3d34885b-f494-4c98-a1a4-c9b8261fc88d Received: from EX19D004ANA001.ant.amazon.com (10.37.240.138) by EX19MTAUWA002.ant.amazon.com (10.250.64.202) 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:16:55 +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:16:49 +0000 From: Kuniyuki Iwashima To: CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: Re: [PATCH net-next v10 11/13] rtnetlink: Create link directly in target net namespace Date: Thu, 20 Feb 2025 20:16:41 -0800 Message-ID: <20250221041641.79788-1-kuniyu@amazon.com> X-Mailer: git-send-email 2.39.5 (Apple Git-154) In-Reply-To: <20250219125039.18024-12-shaw.leon@gmail.com> References: <20250219125039.18024-12-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: EX19D046UWA002.ant.amazon.com (10.13.139.39) To EX19D004ANA001.ant.amazon.com (10.37.240.138) From: Xiao Liang Date: Wed, 19 Feb 2025 20:50:37 +0800 > Make rtnl_newlink_create() create device in target namespace directly. > Avoid extra netns change when link netns is provided. > > Device drivers has been converted to be aware of link netns, that is not > assuming device netns is and link netns is the same when ops->newlink() > is called. > > Signed-off-by: Xiao Liang Reviewed-by: Kuniyuki Iwashima