From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1669C4363D for ; Thu, 8 Oct 2020 00:34:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5730D207EA for ; Thu, 8 Oct 2020 00:34:01 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="eSXJoZDq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727707AbgJHAeA (ORCPT ); Wed, 7 Oct 2020 20:34:00 -0400 Received: from z5.mailgun.us ([104.130.96.5]:53382 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727663AbgJHAeA (ORCPT ); Wed, 7 Oct 2020 20:34:00 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1602117240; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=biamuavAjnWyPN0pD2k2rAFeZUYWLvOeisw2bML2OgE=; b=eSXJoZDq9zOXjaJQB9UW7Ch9fYAgYlp6p6dmeFRibYlCmv/9vzzq8If/FhezKPpjuYc7ehmc VuEjCl3gDYILe29deynSFet0s8n+1B2Fn5fCi23hxx3lXKfLdoqj8LlSxKLFzmfdnqVW/SqC APgbsUZZRQcxT1e12RR7WiI7FaM= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n01.prod.us-west-2.postgun.com with SMTP id 5f7e5e77f9168450ea7fe069 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 08 Oct 2020 00:33:59 GMT Sender: pradeepc=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4FD36C433FE; Thu, 8 Oct 2020 00:33:59 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pradeepc) by smtp.codeaurora.org (Postfix) with ESMTPSA id EDFB6C433CA; Thu, 8 Oct 2020 00:33:58 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 07 Oct 2020 17:33:58 -0700 From: Pradeep Kumar Chitrapu To: John Crispin Cc: Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, linux-wireless-owner@vger.kernel.org Subject: Re: [PATCH V3 2/9] mac80211: add multiple bssid support to interface handling In-Reply-To: <20200812150050.2683396-3-john@phrozen.org> References: <20200812150050.2683396-1-john@phrozen.org> <20200812150050.2683396-3-john@phrozen.org> Message-ID: <6e914f17bc1fcd57bfb1a0d9f68fe4ad@codeaurora.org> X-Sender: pradeepc@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org > > static int ieee80211_del_iface(struct wiphy *wiphy, struct > wireless_dev *wdev) > { > + struct ieee80211_sub_if_data *sdata; > + struct ieee80211_vif *child, *tmp; > + > + sdata = IEEE80211_WDEV_TO_SUB_IF(wdev); > + if (sdata->vif.type == NL80211_IFTYPE_AP) { Hi John, Observed a NULL ptr dereference error here.. Thanks Pradeep