From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:56508 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752738AbeCVPV5 (ORCPT ); Thu, 22 Mar 2018 11:21:57 -0400 Date: Thu, 22 Mar 2018 11:21:55 -0400 (EDT) Message-Id: <20180322.112155.1261281999171084041.davem@davemloft.net> To: sowmini.varadhan@oracle.com Cc: netdev@vger.kernel.org, santosh.shilimkar@oracle.com, ktkhai@virtuozzo.com Subject: Re: [PATCH net-next] rds: tcp: remove register_netdevice_notifier infrastructure. From: David Miller In-Reply-To: <1521467568-37876-1-git-send-email-sowmini.varadhan@oracle.com> References: <1521467568-37876-1-git-send-email-sowmini.varadhan@oracle.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: Sowmini Varadhan Date: Mon, 19 Mar 2018 06:52:48 -0700 > The netns deletion path does not need to wait for all net_devices > to be unregistered before dismantling rds_tcp state for the netns > (we are able to dismantle this state on module unload even when > all net_devices are active so there is no dependency here). > > This patch removes code related to netdevice notifiers and > refactors all the code needed to dismantle rds_tcp state > into a ->exit callback for the pernet_operations used with > register_pernet_device(). > > Signed-off-by: Sowmini Varadhan Applied.