Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7396523rwb; Tue, 6 Dec 2022 05:22:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7dFCsl6KMn15SU28C/Vxposksp/oTaePHs3urzgh5d/EeSHFn/FqWNizXJ8rZrvWp6w8rE X-Received: by 2002:aa7:9acb:0:b0:577:1f5f:cc28 with SMTP id x11-20020aa79acb000000b005771f5fcc28mr6211454pfp.16.1670332941771; Tue, 06 Dec 2022 05:22:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670332941; cv=none; d=google.com; s=arc-20160816; b=O/epk6LOZwXHAElF0uEXtVu4MQL8swxJbaj6KteDr9DUYDVj1A17adA7s9U7AsxWHO 8tNKIKXniyGRg6R6QmFSY3/24Lh9lsymA2uR6kfs39o0FmWkUh05w+8/0ogsro329uMc aQTN6oKfZlgryjXwUwcT6TzIhgEtHGq7W0QtPUTFnm76Ij+tu/LXnTxcUJpSdVYnmKN0 6T8H/X7ZXovHqKH65q0Qat+POyp8kGj5YAuzuM86DMa5CMAQEh8ww9OiD+nfn4KXqPwH l1eD6ccEOy87puS3gvnuPqI8Td0Ndb9l8KJDuZvjU85aDMhTnpILs6H8zLHbid5w0FxJ CmoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YGoXDCCtNfECE7yXFP935O8Eb0aCA3qa0Fm0DAr33Qw=; b=hzluFKtfh9cPcEumPUdJ31acckVvcOwckRm39S2qmp8BUcZE8LAJEvnb8kReagERZ6 9cZTtS40L7PsYOgwn6JYdX8fIvLeJ7GLjqyAFLM57e1CRKzfGFd8WJVq2cNEUd9uVOVk 0sXxr9GJftvyi28qNItO9Lx3CVoJVHluTH4xdoHSDahfIf6m4iBoUcPh1HBoyccEx+d/ 2npSYX+006CXFSWNZfs0lEIM+qqqJjPC+Xe25cqhHKIBMsDM5iLezh2YDjpnom7QhMqx 3h83wGNG/0S0Nknr5+SqxUXwgBkb37SOVg1BH31FlrjQMCoEj83VDYmrwkn9sSkwZ47f EosQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170903024700b001898d8881d1si14397046plh.598.2022.12.06.05.22.10; Tue, 06 Dec 2022 05:22:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234110AbiLFNQU (ORCPT + 66 others); Tue, 6 Dec 2022 08:16:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53518 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231249AbiLFNPv (ORCPT ); Tue, 6 Dec 2022 08:15:51 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3004B286D0 for ; Tue, 6 Dec 2022 05:15:05 -0800 (PST) Received: from dggpemm500007.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NRLQ34Hv1zqSq9; Tue, 6 Dec 2022 21:10:51 +0800 (CST) Received: from huawei.com (10.175.103.91) by dggpemm500007.china.huawei.com (7.185.36.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 6 Dec 2022 21:15:00 +0800 From: Yang Yingliang To: , CC: , Subject: [PATCH resend 0/3] rtlwifi: don't call kfree_skb() under spin_lock_irqsave() Date: Tue, 6 Dec 2022 21:12:46 +0800 Message-ID: <20221206131249.2181693-1-yangyingliang@huawei.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.175.103.91] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500007.china.huawei.com (7.185.36.183) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org It is not allowed to call kfree_skb() from hardware interrupt context or with interrupts being disabled. This patchset is trying to add all skb to a free list, then free them after spin_unlock_irqrestore() at once. Yang Yingliang (3): rtlwifi: rtl8821ae: don't call kfree_skb() under spin_lock_irqsave() rtlwifi: rtl8188ee: don't call kfree_skb() under spin_lock_irqsave() rtlwifi: rtl8723be: don't call kfree_skb() under spin_lock_irqsave() drivers/net/wireless/realtek/rtlwifi/rtl8188ee/hw.c | 6 +++++- drivers/net/wireless/realtek/rtlwifi/rtl8723be/hw.c | 6 +++++- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/hw.c | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) -- 2.25.1