From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] net: qualcomm: rmnet: Fix incorrect assignment of real_dev Date: Fri, 09 Nov 2018 19:46:45 -0800 (PST) Message-ID: <20181109.194645.1821451995900774674.davem@davemloft.net> References: <1541814987-28403-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, stranche@codeaurora.org To: subashab@codeaurora.org Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:36374 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728452AbeKJNaS (ORCPT ); Sat, 10 Nov 2018 08:30:18 -0500 In-Reply-To: <1541814987-28403-1-git-send-email-subashab@codeaurora.org> Sender: netdev-owner@vger.kernel.org List-ID: From: Subash Abhinov Kasiviswanathan Date: Fri, 9 Nov 2018 18:56:27 -0700 > A null dereference was observed when a sysctl was being set > from userspace and rmnet was stuck trying to complete some actions > in the NETDEV_REGISTER callback. This is because the real_dev is set > only after the device registration handler completes. ... > Fixes: b752eff5be24 ("net: qualcomm: rmnet: Implement ndo_get_iflink") > Signed-off-by: Sean Tranchetti > Signed-off-by: Subash Abhinov Kasiviswanathan Applied and queued up for -stable, thanks.