Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp337909rdb; Thu, 5 Oct 2023 07:27:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGP+hGxg3/wLDYbFCcaKTaOr7ha9N9+wdG9hFG7K+mjTyGLIu2sfiGE3Fvj5pjWjX2UTXRa X-Received: by 2002:a05:6a00:190e:b0:68b:fdfe:76c2 with SMTP id y14-20020a056a00190e00b0068bfdfe76c2mr5480947pfi.20.1696516034755; Thu, 05 Oct 2023 07:27:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696516034; cv=none; d=google.com; s=arc-20160816; b=tGXqCgZ/nquAudbPQq6iikf/25FnVBhuzl5W6zEzk51iE4P/ZKP9c6Np/q80FvMVEW 41gJoVgMXSwLhuRrfttuGwcyU6/6uiBXBt/i2ocv0T2SbTc+WXDLCvQRezLK+7v6AaHA H+qrRBLEERy6xgOXnHb5HVmX6RIyOm45vKVtQH+j3skNkcy51T+fx/Lq1WOfbi8m4HcK etftEzqcbFZVPad5ArVepssq0haag92OUzrbAIx6KCFqVdxv9Mn33w8PQhWvpfLxandd HrDGpczPymcBpzOGp+kJWwSRqp/m99Awj/toUnuzlkLJmfZf9Dh1zxqDGkdDIePUK57Z Fz0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=K9RLPKw/fdVMOG2mqUZ1IRmtC3X+vMbGsjNsnzZlTRY=; fh=2UwWbqe/0GdJ8SIsvZFFqsPvlybznKDKcB9C6k2upGg=; b=T0P54cuNbUwRLqae1/7ZGwgBRN/aTUG2xPDqMK7Yi+cHoKFvaMV1kg2BwfP+1jjtll S1jVrxcfJ2Q6gNwHIldi4z9VtrKRQ2rCD1WVECVnrnIg907dS4bWs/oYyJGN+dPoezzv qk2H3R1+v2ppFPdU0Yuqa2fUJIS88R/zurMeAX33HMVaF8c4kHXcHqsOP35vKHlbYLlA nvPja0Da/4dReZh5kQz9H5SDiibm2SthbAo91jAWkIUih7556teqkS+87O/hzOBTel4E J5cNArzMw0CvSwYUFI9OTkgLceby5pfPgQL+l0BO3yM1oHhRQs9kz7Vlps0Yx5VXZf6y yGmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UNBXdUeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id x14-20020a056a00188e00b00690c92a8defsi1552200pfh.206.2023.10.05.07.27.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:27:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UNBXdUeX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E077480C6303; Thu, 5 Oct 2023 07:27:07 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233953AbjJEO01 (ORCPT + 99 others); Thu, 5 Oct 2023 10:26:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234565AbjJEOYQ (ORCPT ); Thu, 5 Oct 2023 10:24:16 -0400 Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1719261A0; Thu, 5 Oct 2023 05:16:08 -0700 (PDT) Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-307d20548adso896033f8f.0; Thu, 05 Oct 2023 05:16:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696508167; x=1697112967; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=K9RLPKw/fdVMOG2mqUZ1IRmtC3X+vMbGsjNsnzZlTRY=; b=UNBXdUeXgUzUFGA4y04IfXkfA79DH8CSlX+6NgwrUJxUUDXxJkLrN3QVXQzqxJpBvU q2ibQn46etLD/XUP4lol3pBO1+b2e1RGr1N9b8yxGgtObWGdZcOcLk5Zf4LMxstqaKy/ qiuEGcdGfqWjqfiv4acmnISS0M//uzL+nIt2b1cxdJB0FjekP/Jd33rCgVExqnwOLgn0 1GNgPkMcVFd9if2X6hkxqYWgYcd0Nlo2YueclaxCQMcfTs+97yVF4CV4Ib6M7GfyrBTl hciGk1ssg+yytJNBQ1GGxk+v/FKl0bwzXlZZERLpEwQtTKHe9ua16Iq2O0BMxfFzWSyY c7cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696508167; x=1697112967; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=K9RLPKw/fdVMOG2mqUZ1IRmtC3X+vMbGsjNsnzZlTRY=; b=P0rMuOCVZvgDJgTlr0B+2/g7dcDlERUBs0NdSqJdHPK9D7F7kJOxwngk8D2RBlA2SY SaJ/Vhq5S+YpYf+24sdNPIhr5eBnBd004YccsP9eNsY4Bc+N+dj+/88pDnf4uZlkXIS3 GX+H4pRrxEKBjxYY1+8nmxOkaQ9FMvazfPcWVhEuOclWm8cr2NHIR8Q/zKQSbgDHkXBx 6EtfNTc3j3WK1XMZI88D3GLjx4rfGiRh957Aeotx5YKLH6gLv+RV/L4rP2QGgToZ0kc1 dcBn6cWHXWDGXS3KWejJMjgrqsLcqgRDn+Kn2NO5vSIqGM8r1mcyFHHiiP8rFWcY9qw9 sjsA== X-Gm-Message-State: AOJu0YxObJZUhITJ5ZX1UBaxT5uwG6KHAVyrlxUJk8qh6OLbirE40hpJ 9q7iCGNBq2oYru4rmrJB8HQ01SDRRK98k5jEhWs= X-Received: by 2002:adf:ec83:0:b0:323:3346:7d51 with SMTP id z3-20020adfec83000000b0032333467d51mr4462588wrn.18.1696508167002; Thu, 05 Oct 2023 05:16:07 -0700 (PDT) MIME-Version: 1.0 References: <20230926182625.72475-1-dg573847474@gmail.com> <20231004170120.1c80b3b4@kernel.org> In-Reply-To: From: Chengfeng Ye Date: Thu, 5 Oct 2023 20:15:55 +0800 Message-ID: Subject: Re: [PATCH] net/sched: use spin_lock_bh() on &gact->tcf_lock To: Jamal Hadi Salim Cc: Jakub Kicinski , xiyou.wangcong@gmail.com, jiri@resnulli.us, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Horatiu Vultur Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:27:08 -0700 (PDT) Does it mean that dev_queue_xmit() should be executed under BH? Thanks, Chengfeng