Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp1245379rdb; Fri, 1 Dec 2023 10:31:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IGEzbTGpbfxY9vY8YGzTSqqJC8BLZRigTCanhWS0nELAEucyQSmZzjcvVnvrfQVJT0TWrw4 X-Received: by 2002:a17:90b:4acf:b0:285:a160:df1b with SMTP id mh15-20020a17090b4acf00b00285a160df1bmr22266451pjb.7.1701455494822; Fri, 01 Dec 2023 10:31:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701455494; cv=none; d=google.com; s=arc-20160816; b=XDkwPmOK7qMgpNk4zEJPhlfiTCaiF5Yfx5KhrInQlM3wZPoKXiDdq/p+FGj68wKFMs 4FfF7UfL1JZ3ojAhejsVvpzncmPGQdLafSan5/AKBFxYfii2XLFqdOHL3ozlzv3ETuf2 snOIl6Jn7emd+9fCQ7VRu6xaIvSDCgZwSTzFyPXMwCxdf3uRDaoBBKoU9I4zq87NYL7a QqQ6Z9eRbLWOjvcrHUGB3LJ9kr+WVADGbLxK4fLPmIjOsfoxyTiIf/L/amWl7BQQQyri Gqx2p1CJnCy+B9VxPd+AzUWHGvrSVctDDZoghsbr4/GuuSjUcV7MLM5Egov0tNoUzUxk sBQg== 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=3cv2Uee2oIziALezonnt1Q9SYpgaVQLza5Azfx+pJao=; fh=EhDy095PugFwftH3oLEB3f0WwHYYYt8VLluAIetNm7Q=; b=ugkyxy0L2zcmXAW30ewh09p/EsRnoQCD/UfKoFjogzhm2mXM7uIfvklESOqRYfAhN7 SFhQEDgmG6XfSt9KhX4KEfjC3yXMIMhQaL++tB9wkthj0HNSV9q+9I8NTchIFVsshw9B s5r/8+53RJ4shh0m2jW8INZ8NjNpdaJgomFMLQ7mOmFVLNngot4C1JdxWe3oBULi8Kzn a283+MmUWA5VGZqtrbrP36wXlbKh/xGQ5xt3rq1K4ajUfRikSyrsJPUJp97Y5qsKDx8s 9aSZ7aRbq1n5sMrZnaHlPNpsiiQy2nqew1TOiiqscrxRTNwlu2UTWsFaNNDIHby5Vl3a 0W4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=DPIsJR1T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id s11-20020a170902ea0b00b001cfa2728007si3916436plg.231.2023.12.01.10.31.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Dec 2023 10:31:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@cloudflare.com header.s=google09082023 header.b=DPIsJR1T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 79DAF8277E73; Fri, 1 Dec 2023 10:31:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230374AbjLASag (ORCPT + 99 others); Fri, 1 Dec 2023 13:30:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjLASad (ORCPT ); Fri, 1 Dec 2023 13:30:33 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 859E3131 for ; Fri, 1 Dec 2023 10:30:39 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-a06e59384b6so356558866b.1 for ; Fri, 01 Dec 2023 10:30:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google09082023; t=1701455438; x=1702060238; 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=3cv2Uee2oIziALezonnt1Q9SYpgaVQLza5Azfx+pJao=; b=DPIsJR1TxC9i/XKb5UNCALzuewCVdiNO0BAxxBk8zAb2wUfLfUGLu6vk02sF5NBGT7 hVTQVUZZaetlZEaCkTRg1ln/Xk9FHdJfr39K0TWamJloEBu/5yoaa1M7v90Fl+nS3HjA eKdbLG2geqq40z6qCpo+zNbFGfHcrs3C1BjIyZ1r842LkwAts7tcG8XEIsQU8KeuU9TA rtYtC29Ou457Yh5Biux9LgH2kwva58bPbwDDskuCqN3eBhsDQVnuT4N9XpuZi4eaqyXn YPMobU3dhwacS6RLputzP7GjhJQH08LlUc8+1RvecLdQOJY5JAMZNNsB8lqbI9HmuMcT xc3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701455438; x=1702060238; 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=3cv2Uee2oIziALezonnt1Q9SYpgaVQLza5Azfx+pJao=; b=uNzAj+/4vT6z1e1LgklUNc5BZgd+zQ9FoatNy54gALt11GsjDBRrUtsBWc/nNx/UCF luogYFYnfolAZK6cAyQhHdKh9N5/NP3jVIhMJ03MvP3jl3mBBB3D2T9sITTV/o+MaNNX Oxqdtq41GSu9h5YWPFHgE8TziLJU+33D7BC6LEeM1fuwbv1K0mu3MpQbbAemzEjqd0NJ 4nOLvbwr+MvATYxyrMkxzb5z5Wm8dM2bedOdTzBOWK67AZ+OlFMA4RFsMVDufyRoeJoA 2paLVwvsuw9jhuevpWKewnmXiMbvGbCHMKjv/nJKaVJJBJHo6Hby1e7imz2pS0o9X6/i 473A== X-Gm-Message-State: AOJu0YwZHZ1UO5lZXkqyvfpa5a8KuJ5gBZYhKXNdq3NdNhuRG+vfLNPa mXchAwMLC010EqZ4SoTfka0GUolitUR82/OSA7JCqQ== X-Received: by 2002:a17:906:c9c2:b0:a19:a19b:c704 with SMTP id hk2-20020a170906c9c200b00a19a19bc704mr883176ejb.84.1701455437997; Fri, 01 Dec 2023 10:30:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Yan Zhai Date: Fri, 1 Dec 2023 12:30:27 -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 groat.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 (groat.vger.email [0.0.0.0]); Fri, 01 Dec 2023 10:31:07 -0800 (PST) On Fri, Dec 1, 2023 at 12:19=E2=80=AFPM Yan Zhai wrote= : > > 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? I found the answer in scripts/Makefile.extrawarn. Good to learn how this wo= rks! > > Yan