Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp5031177ybn; Sat, 28 Sep 2019 11:59:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqwXomfSCjAeEQcIGaK41LGGEX7nSZaUDXa/IEIe4DDQWJ1yKwxHAI0ozh/arWb7+qvkdCm5 X-Received: by 2002:a17:906:5957:: with SMTP id g23mr12809329ejr.312.1569697145799; Sat, 28 Sep 2019 11:59:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569697145; cv=none; d=google.com; s=arc-20160816; b=pQ29nFET/gqh4Odk2eZz8kVnNatUqbDY6U8OCXIU/c340h0CzVbG50/L1XI0phJm6/ R6ZvPJK+HLjm9D522pO3m0IFVwvv1xvTSBy9CCDReYQWrx/NhPujxtdY00HdbFXT4g4k odDEC/LdS3wS5FR6USAoBdaLpRX0Ku6GKsgHz7PKZTedhye3l0HGTJ7TB5GnMkXVCQns JY16SXs4ra/ZtfPhQVENfh55tjze7hhIABeZAK6rgT2jKfbrM/2pCFPUWxSta4ynuRst dbyLiGb1OuP2xoAHrCBCveqq3R0KgnwSph4JVFNska7BlhUkBwv/6OqDm9sR9Ch3I0KL 6rnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=6P5HUNqnfTibKXnvZ7dx3hezK+t5knB8Bq50OHwkCfA=; b=AzQ2eTPvlgpi8NEEP4ynDNYJ14sK7VdxDxXTuF+sh0KbJAYKXKNv1uOEyV724Qu5FQ hbG/5NepH+lsgF1XehscUCWwfSGZ2ViLynHNz/hQH6q4YRDHQEu6w0jYGJrFpt3AJ282 uUr5H2P/RtLdqwNvftgDsC6GKM0IVZPdaSLUqKQa2xnLOVm4zOgiQY60R1LnN4In63nd otZdjGd2OGbqp5h1uYmaasRT5djorE4Rc8X75ZtkYvIC5SGaJ7bGDTxuW1xn/TbD7ATH CskzMNXsmksOhBzhRC8iea/QXqmvjLcQTtt6Pcva8Dacti6AF5ZQfTsH9K92Re1dp4/A 8oJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hh9si4552692ejb.313.2019.09.28.11.58.30; Sat, 28 Sep 2019 11:59:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728630AbfI1S6Q (ORCPT + 99 others); Sat, 28 Sep 2019 14:58:16 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:33108 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728576AbfI1S6Q (ORCPT ); Sat, 28 Sep 2019 14:58:16 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.92.2) (envelope-from ) id 1iEHus-0002U3-8A; Sat, 28 Sep 2019 20:58:02 +0200 Message-ID: Subject: Re: [PATCH net v4 12/12] virt_wifi: fix refcnt leak in module exit routine From: Johannes Berg To: Taehee Yoo , davem@davemloft.net, netdev@vger.kernel.org, linux-wireless@vger.kernel.org, jakub.kicinski@netronome.com, j.vosburgh@gmail.com, vfalico@gmail.com, andy@greyhouse.net, jiri@resnulli.us, sd@queasysnail.net, roopa@cumulusnetworks.com, saeedm@mellanox.com, manishc@marvell.com, rahulv@marvell.com, kys@microsoft.com, haiyangz@microsoft.com, stephen@networkplumber.org, sashal@kernel.org, hare@suse.de, varun@chelsio.com, ubraun@linux.ibm.com, kgraul@linux.ibm.com, jay.vosburgh@canonical.com, schuffelen@google.com, bjorn@mork.no Date: Sat, 28 Sep 2019 20:57:58 +0200 In-Reply-To: <20190928164843.31800-13-ap420073@gmail.com> (sfid-20190928_185052_013812_882A8484) References: <20190928164843.31800-1-ap420073@gmail.com> <20190928164843.31800-13-ap420073@gmail.com> (sfid-20190928_185052_013812_882A8484) Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5 (3.30.5-1.fc29) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Sat, 2019-09-28 at 16:48 +0000, Taehee Yoo wrote: > virt_wifi_newlink() calls netdev_upper_dev_link() and it internally > holds reference count of lower interface. [...] > This patch adds notifier routine to delete upper interface before deleting > lower interface. Good catch, thanks! For now I'll assume this will go in through net together with the whole series (once ready), shout if you want something else. johannes