From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: qualcomm: rmnet: Fix warning seen with fill_info Date: Wed, 18 Apr 2018 21:27:01 -0400 (EDT) Message-ID: <20180418.212701.1999285344946819144.davem@davemloft.net> References: <1524008400-27713-1-git-send-email-subashab@codeaurora.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: subashab@codeaurora.org Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:51244 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751878AbeDSB1C (ORCPT ); Wed, 18 Apr 2018 21:27:02 -0400 In-Reply-To: <1524008400-27713-1-git-send-email-subashab@codeaurora.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Subash Abhinov Kasiviswanathan Date: Tue, 17 Apr 2018 17:40:00 -0600 > When the last rmnet device attached to a real device is removed, the > real device is unregistered from rmnet. As a result, the real device > lookup fails resulting in a warning when the fill_info handler is > called as part of the rmnet device unregistration. > > Fix this by returning the rmnet flags as 0 when no real device is > present. ... > Fixes: be81a85f5f87 ("net: qualcomm: rmnet: Implement fill_info") > Signed-off-by: Subash Abhinov Kasiviswanathan Applied, thank you.