From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 2817A15EFB7 for ; Wed, 24 Apr 2024 15:05:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713971149; cv=none; b=dKoHg/W7drcYKlcGanHRf2RMpqFaZ/FjTGYX3wjCOqGNaYUUrKDL6yKu6MMyPeSLzQ6uO99ow/1qU3eA34OrVrwOMxKzKZs28B3bNW/aB9FcQYrySq21O6i6IUnc5ZZW4Uvvgc9AEHeqtu+jVDcpaO65A/7J3RG56RlvDCSzmWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713971149; c=relaxed/simple; bh=9j2EapAwJRHxx0WCQBfTgCjkDcE9PpTZGoewBtZLYs8=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ddMakJWlJgN/mwsVyWGHdJRXn7ANY72ehsE+qfq6m5gLr0yLqBYkhQ1usCVKgGYOoMWrFeOmv8Cmk6DN5gV/rZbDkk7WtrEyV9p4wjq9/FO8Kby7Me93TAKojm0nPTqSQM9xRvhv1fbwFG00uaP6LmJtqSe726465bEQZlxpaVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=StyFGrr7; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="StyFGrr7" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1713971145; 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: in-reply-to:in-reply-to:references:references; bh=9j2EapAwJRHxx0WCQBfTgCjkDcE9PpTZGoewBtZLYs8=; b=StyFGrr7Sw+gKwoPwfV3L06ykXPjftSXyCQ4aRh9OBCX570VXbPcl4HkXHjwosoE75/TVg kqgZAF1TG61ErTL8ekzpQ8M40CVBa+b9POBRViu3UTe70H6gvy/q1Z4FyMBQU2B9y1UXg/ t1NtFnBdVMtuxVgAqenYqvQirYT6+fk= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-275-CZvzBCBZPQCaoVvysukxuQ-1; Wed, 24 Apr 2024 11:05:41 -0400 X-MC-Unique: CZvzBCBZPQCaoVvysukxuQ-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2849E104B502; Wed, 24 Apr 2024 15:05:40 +0000 (UTC) Received: from RHTRH0061144 (dhcp-17-72.bos.redhat.com [10.18.17.72]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9D5E6C13FA3; Wed, 24 Apr 2024 15:05:39 +0000 (UTC) From: Aaron Conole To: Jun Gu Cc: pshelar@ovn.org, dev@openvswitch.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [ovs-dev] [PATCH net-next] net: openvswitch: Release reference to netdev In-Reply-To: <20240423073751.52706-1-jun.gu@easystack.cn> (Jun Gu's message of "Tue, 23 Apr 2024 15:37:51 +0800") References: <20240423073751.52706-1-jun.gu@easystack.cn> Date: Wed, 24 Apr 2024 11:05:39 -0400 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.8 Jun Gu writes: > dev_get_by_name will provide a reference on the netdev. So ensure that > the reference of netdev is released after completed. > > Fixes: 2540088b836f ("net: openvswitch: Check vport netdev name") > Signed-off-by: Jun Gu > --- Thanks! Reviewed-by: Aaron Conole