Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1238422rdb; Fri, 1 Dec 2023 10:19:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IH1Uqly9rviln+jLdJ87IN7FvzWojlk8AWjb069vY1glOA3kxwgN5QYEhcEV0Rbjp3whsp+ X-Received: by 2002:a05:6a20:3c90:b0:180:e3f1:4f60 with SMTP id b16-20020a056a203c9000b00180e3f14f60mr28879688pzj.45.1701454796823; Fri, 01 Dec 2023 10:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701454796; cv=none; d=google.com; s=arc-20160816; b=jRQRU28Oz9FOb2Z5aBFHR6KNLRI+eVWbw4ULwtf2GKePc0qJvUGyaZLkD97DBfys9l wo4LN4y5ZkDW+NPAWx5QoahOmauwVbo/EDbhQm+cQ2QggGZedCOmfSonz31ai6l9Blny w7SCMoJrljn9Q74cVnbh8AKEqermedZKQgxP5DFNyXnzQTf+mCLA1nObGkBCAjQhefy6 CQd8AynlywtzC36iSp6WCJv0wIASofmEjFN1JqNeLBburfbNo9vBLYE3P+WxG9BwRXOE FlhmM5a3s3R093ZiohVOm+Tyin8r7eENTvygIODPyZGpqV44pnqsVdl9cGXTqlvNS1Av N89A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=sRNx8XSp+rNad6wmKaHqg85aiDCSXnZuwfkrOtNdpoU=; fh=EhDy095PugFwftH3oLEB3f0WwHYYYt8VLluAIetNm7Q=; b=eBvYKGMzbOYoXELsVVJJY8sfT5flQA/fytkAPYxpCvx3rJ5ijY1Zt82J0GsKFID+au LQnEX5URERZX5RLOcigc5zhXS3DFhg0EGpholzVCCUjqppyJO5wLFYdD/QNm6tEfbB3z Vn4V6htBP8xWm7X9Jbvq+AohkWqLn8tM4vHKaG8sAYejepbev8p4+Lm7FKJmf5b4n3uB kPpcJ+b97rs3K29QbpFF/1fA1tcPHjymyi5HmHmFgmF3UooGFXaDaiR5GvxiACOTYMuX 9x2WhPIB6KpXJwV9RpN52Nf8AtvlBEUA4Kj5TbvNoA7bJfXmIe7X/hfm1pKmq2iXc6xN 2M3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=BA5D7Scf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id r9-20020a632b09000000b005ad1edab539si3641032pgr.319.2023.12.01.10.19.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:19:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=BA5D7Scf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=cloudflare.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4D73E8200CB8; Fri, 1 Dec 2023 10:19:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379201AbjLASTb (ORCPT + 99 others); Fri, 1 Dec 2023 13:19:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44888 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379181AbjLASTa (ORCPT ); Fri, 1 Dec 2023 13:19:30 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E417012A for ; Fri, 1 Dec 2023 10:19:35 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id 2adb3069b0e04-50bd8efb765so1484704e87.1 for ; Fri, 01 Dec 2023 10:19:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google09082023; t=1701454774; x=1702059574; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sRNx8XSp+rNad6wmKaHqg85aiDCSXnZuwfkrOtNdpoU=; b=BA5D7Scf9lzSuxlprNbBwCdU81krcAXNl6a4S7VfjX6bEkPE4RcivDTvF4kaBiPjIp YpXdupAzMHUGLpBbJfWPlW4jKFpLEYrHvW+MaWjXbXF5jHWcC/Uim+bkrCeY0qnAUnoi EQuVDwgD5PreubhiE6cBNT69OJJNv4Uhk55jfms1EyLlNwRZBHglcAG2L8QIiqlSJdy6 vfTO7dgjvhNT1gp747DE7btfYS3q4VFWxqi33pWqELXET3wOny3tcevOhH0zgeEQ4WXX KUPYoH961I2P4N8Va6z6I5eem7xvTx/Z7Ewm7B47EbawWyIUidRJKkaEjYcNsSMIg4yO kBEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701454774; x=1702059574; h=content-transfer-encoding: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=sRNx8XSp+rNad6wmKaHqg85aiDCSXnZuwfkrOtNdpoU=; b=FluTHDN/e02GE3XUj+6P+Fu1zJInJ1kvWzEb0IIBgV2eQqEfq0SYxBE+yI+GBlO8Sc X4bLGEkN6+MQuuo2HhtfAJuS7lOYLvFSXFR+5b7eC8qcvO1VU+9TUtjTfyLXDN7nAtWG T7ZvMwQTBIQbQqd0+GhLI/NKDdSACN7HAjJobJbyO3XKXORuRNcY3jsPACnUQlnQ5rta qCTbm6GDk1hDRTzgSgVUvs0b5ktugIP2EgxnbK5F/gZ96W24jHUEZNj84aYE31GfvCa9 ravQx/rOP958OqTFIZxfgf4sYUA9FBC4Rdm0ZSEj9xJReM93v56lamfokdsmi9y+bM/i NTUg== X-Gm-Message-State: AOJu0Yy8KBWfXeJo6jMRJ4kICkGpWWQm5aTWpWONfEVK6+wlPaw1YRCA I4ehIXbcWo0fQBXLGbiV2cekSXPtjlt1AHlb76O3zg== X-Received: by 2002:a2e:b0f7:0:b0:2c9:d862:c652 with SMTP id h23-20020a2eb0f7000000b002c9d862c652mr1076937ljl.63.1701454774162; Fri, 01 Dec 2023 10:19:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Yan Zhai Date: Fri, 1 Dec 2023 12:19:23 -0600 Message-ID: Subject: Re: [PATCH v2 net-next] packet: add a generic drop reason for receive To: Eric Dumazet Cc: netdev@vger.kernel.org, "David S. Miller" , Jakub Kicinski , Paolo Abeni , Willem de Bruijn , linux-kernel@vger.kernel.org, kernel-team@cloudflare.com, Jesper Brouer Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email 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 (fry.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:19:54 -0800 (PST) On Fri, Dec 1, 2023 at 11:51=E2=80=AFAM Eric Dumazet = wrote: > > > bool is_drop_n_account =3D false; > > Why keeping is_drop_n_account then ? Good catch, thanks! Will send a v3 to fix up. Meanwhile, I noticed it is compiled with the -Wno-unused-but-set-variable flag, is there a reason why we disable this warning? Yan