Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1031763pxu; Thu, 8 Oct 2020 01:08:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweDwI/9BRP38UEGm1QOp2zrUnxk1PHyjzBp0DoIPEsr8fbv1Aw+mIlnYYda+55LY0d58Nq X-Received: by 2002:a05:6402:31af:: with SMTP id dj15mr1036665edb.275.1602144491609; Thu, 08 Oct 2020 01:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602144491; cv=none; d=google.com; s=arc-20160816; b=tjpT67EiafU2jSjJEIthu1UqxtQEEPwP5B+Gyg/7d0gKqNfpUxnE6FrJOLe72hgmkZ u6fJ9kt2kW+/e3kidtLKuwYLj87NrwSbR8HyINij40Cnwnqgn63OOu/pZhfCvApKJtzB N3FbRqI8SIwMKgghvKfIMpNzQrcoEcB080vh0kvjY6gT71maiFhjgxZI3+DO3fbC5qCg eIdKLlIZRkMNZ71q1gPDvc3M6a2T8823wy9pSUXPdVGsN0a6scJ0uG4HdrR2COGM+ndd jOGV/elFjPXjy0xyCggVuM4I0Cxm5t15+ocoBauE6FSpFe84gxRRXFCYifi/gF0p2uzI Qq/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=hb50E/o7Pr1+KyJjtSfsDfXDTZJef+2izrXun16caxs=; b=DTAcENnzi3HllR/4xKVL3f5tbkF0LqoPB64i+9C5rjZ5U6xXBgTvgNSlsmNSvBeNvE qdLrkAQ/1CvnwPw2MBDDKmfQjAmNdKkqOL+61GRvKfgCAS8qMSeptrEtoQxjtREGfoAa LICMBGseIDsKZUb0o9DVqFh633NSqY5v+9dlUsbb62/aa/mSW0o9DqCe8VujA5SZEl7m Ub70+9PeICmU7w7Gqy5mostpP6ktG6/LzYe9icxzSUHoRPXqsSdryS9RMM+LNVUa2E4D wPWTyIVkYoTpJS/Fbc9bM43MpTYjIk9WrNJDneXoln/bKWD2v9l73qFmSCYc1vQhICUk pECw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o14si3129536edq.11.2020.10.08.01.07.36; Thu, 08 Oct 2020 01:08:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728426AbgJHIG5 (ORCPT + 99 others); Thu, 8 Oct 2020 04:06:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728395AbgJHIG4 (ORCPT ); Thu, 8 Oct 2020 04:06:56 -0400 Received: from nbd.name (nbd.name [IPv6:2a01:4f8:221:3d45::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3C1CC061755 for ; Thu, 8 Oct 2020 01:06:56 -0700 (PDT) Received: from [2a04:4540:1402:c000:3d28:eae8:c654:ef6] by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1kQQws-0005z9-OG; Thu, 08 Oct 2020 10:06:50 +0200 Subject: Re: [PATCH V3 2/9] mac80211: add multiple bssid support to interface handling To: Pradeep Kumar Chitrapu Cc: Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org, linux-wireless-owner@vger.kernel.org References: <20200812150050.2683396-1-john@phrozen.org> <20200812150050.2683396-3-john@phrozen.org> <6e914f17bc1fcd57bfb1a0d9f68fe4ad@codeaurora.org> From: John Crispin Message-ID: Date: Thu, 8 Oct 2020 10:06:50 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <6e914f17bc1fcd57bfb1a0d9f68fe4ad@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On 08.10.20 02:33, Pradeep Kumar Chitrapu wrote: >> >>  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 how did you trigger it ?     John