Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp1346564rdb; Wed, 16 Aug 2023 08:54:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGJdTipvaUbBV6GYGvHb2pVO9KJ8v6c0/7TB86i067CHQRDXgN4vDRb4HknGKhIBW1MHg1h X-Received: by 2002:a05:6a00:2e9d:b0:687:42be:a246 with SMTP id fd29-20020a056a002e9d00b0068742bea246mr2766098pfb.9.1692201299073; Wed, 16 Aug 2023 08:54:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692201299; cv=none; d=google.com; s=arc-20160816; b=roWoXJTF+yDcZcpz0rL4JNzPn9MeFSKCCGnuFLWwZH+/xYSMOgEABkUTkm8ElOCi4k JskLnr2Oz1LBtwD7VDaQEHvlQ9ZVtsp9MT//vgXIVt8VWit8Yp6JTYnhF4DyRbrR2cZE IAQFoz/hgTsqVAeGHL49YewaSfjhBYo1FNDuDgBpLbZENpqnSHd+fDfJoL6FQhZh/wxX 5p2K2u+GFgiZesoT2a5pSNTYexYzaHnNK0zBNpEjcuOMXidpLwkVOwWdkdwCGlsjNq31 EPuyQXBTzOT8ZDhXpRVfD0DqnDbe1TZHFK7ZKDdoCX9mAtn8kQ8w1gFptHR3u5fXwozB GVjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=toCOfOzzMKqdnrUnxBxfJcFFZqC13Fg08j3PZjt9VnY=; fh=Fe6x3tUH3ag4vzvrYL/k4wZC7Yw7GNYLQkjVsxIWnnE=; b=uOJhC8I71H3wNufL4gMyM8f8RnqkMIIzCymH51cE5vVBLb0ODLGmY6OYULGYXD+qkx 9QOwcBxoQnINXdFW8IoRSEbJ+RWD/xtVDAoY3LPtqL+Hl/mUfTPlWcgjmBheNwhtSupl Bv3dNDT8tgicAZN4H4mhQVeBfaiQ/U3i0rv+fMcz5C5a2GAL6HF6FDKjg19GIJgWFD6j R8u7ohW5rpeXy0J36Uw6G7ZOHSQHXUwzzUunH1g1k9kutDNlmk16DhWwGWAvxRTQAp9r TSYAPgGB4MkX552axwslDLedai1ZxkqrfapXssmT8qWRc8/Q1WzxINHaMpvQebwK5vUe S26Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 n19-20020a056a0007d300b00688453b9bbbsi1649171pfu.223.2023.08.16.08.54.40; Wed, 16 Aug 2023 08:54:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-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 S245099AbjHPMZT (ORCPT + 99 others); Wed, 16 Aug 2023 08:25:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245152AbjHPMY7 (ORCPT ); Wed, 16 Aug 2023 08:24:59 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F8E9E56; Wed, 16 Aug 2023 05:24:57 -0700 (PDT) Received: from dggpemm500016.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4RQnNk3X8vz1GDcX; Wed, 16 Aug 2023 20:23:34 +0800 (CST) Received: from [10.67.110.48] (10.67.110.48) by dggpemm500016.china.huawei.com (7.185.36.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.31; Wed, 16 Aug 2023 20:24:54 +0800 Message-ID: Date: Wed, 16 Aug 2023 20:24:53 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH net-next v2] netfilter: ebtables: replace zero-length array members Content-Language: en-US To: Simon Horman , "GONG, Ruiqi" CC: Pablo Neira Ayuso , Jozsef Kadlecsik , Florian Westphal , Roopa Prabhu , Nikolay Aleksandrov , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Kees Cook , "Gustavo A . R . Silva" , , , , , References: <20230816093443.1460204-1-gongruiqi@huaweicloud.com> From: Gong Ruiqi In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.110.48] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggpemm500016.china.huawei.com (7.185.36.25) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,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 On 2023/08/16 19:16, Simon Horman wrote: > On Wed, Aug 16, 2023 at 05:34:43PM +0800, GONG, Ruiqi wrote: >> From: "GONG, Ruiqi" >> >> As suggested by Kees[1], replace the old-style 0-element array members >> of multiple structs in ebtables.h with modern C99 flexible array. >> >> [1]: https://lore.kernel.org/all/5E8E0F9C-EE3F-4B0D-B827-DC47397E2A4A@kernel.org/ >> >> Link: https://github.com/KSPP/linux/issues/21 >> Signed-off-by: GONG, Ruiqi >> Reviewed-by: Kees Cook >> --- >> >> v2: designate to net-next; cc more netdev maintainers > > It's slightly unclear to me if this should be targeting > net-next or nf-next. But regardless, it doesn't seem > to apply cleanly to the main branch of either tree. I find out that it's because this patch depends on a previous patch I've just sent: [v4] netfilter: ebtables: fix fortify warnings in size_entry_mwt() Maybe I should make them two into a patch set? Otherwise if I adapt this patch to net-next, it won't be applied either if the above patch is applied ... > > Please consider resolving that and posting again, > being sure to allow 24h before postings. > > Link: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html >