Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4391700pxb; Mon, 21 Feb 2022 20:04:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDTA4i3SgvQP4RS+TpI56bwgYfW+jog4KMxhuS9HK8vdZVWRyK2Vvi7+bF01S9U0Q27pDn X-Received: by 2002:a17:902:cccb:b0:14d:ae35:1a81 with SMTP id z11-20020a170902cccb00b0014dae351a81mr21691043ple.137.1645502653683; Mon, 21 Feb 2022 20:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645502653; cv=none; d=google.com; s=arc-20160816; b=vtJSaXFS+DTq15uCCPI1lEb39IaSa7ZuPCfGnDwm/jHy0I/9QRJhSwyWX0wXvNPl5B 8YodQvjJw0yHy05+X89VOYBY9Zh/5A5DV9j6fpAjvnRJJiniKYVz4M/AOzp4uzyiQN0h u0YPa5StK/p5mApOhZ+WYe/ieFQR4chqdtOQrJlmyDkAD/8pfT6u3AAHGO0pOS5KPMPy mxm5Fb8w/lNz9um0YgGCB9qLrSpc5yAZjKNVoY+FYqLuI2MOkJx5l7cwBM61/yt+zdB7 LXUdrt+LMwyOM4zEzZ3A7f9BHYpd04ff/JPqIkibvkKJiI3OwFTXxxaF1lPir0Ikrpvu I9/g== 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=RYNWLnVbKM4xHO28n29WEcF6mje2egR5or43iUYgI8Y=; b=SY/yCCvJYfseSVEowzW5fwjgPGnjPqVRo0xb1dYDkw6v93r+/TDPaQwpYdFuNYTiHi qfQ3Hgpz6Cclm5IBL4bQyrcsBlxXM6GBtCBj5r6WHq5PYEhWCjylaAWZjgrh4q7KH0Qz ihg4QNdHNu/ZMSfblWISiFRhStetP0ApfM7x/SrU+JErHO9QVqAqpwnuyhn8f4uxNzLZ 7K+6lwwwwDVO5aZGedyOOj3GaI2YvNoDkjjvSzmJXwSOv7VUK9DCzFfdD/YbhGkWtSlr ZYmbsuAoFAzG3nDxuEhPC8/FKw8h+TzK93P7C+sgPvSjupbXUFcEKocV1lzMXalkBVSp 4PXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CILXkezC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id q205si18229401pgq.11.2022.02.21.20.04.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:04:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=CILXkezC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6E2975FF02; Mon, 21 Feb 2022 20:04:02 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230019AbiBUSGs (ORCPT + 99 others); Mon, 21 Feb 2022 13:06:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:58286 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232550AbiBUSE0 (ORCPT ); Mon, 21 Feb 2022 13:04:26 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A4CB1DA46 for ; Mon, 21 Feb 2022 09:56:29 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id r20so15811291ljj.1 for ; Mon, 21 Feb 2022 09:56:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RYNWLnVbKM4xHO28n29WEcF6mje2egR5or43iUYgI8Y=; b=CILXkezCgpPmCclkAHIZIeOknVFw1koxGhh+P/JszB5LU8l0sTxsK3rc3yjaEkvn7V HnSuioQZMtItzMYIrJ0Ml3seKrxglaadNPwoI3Y1dyGSq0YFuo5F5KwurP3TV1a0WTjh owvIJxAb1noguKZX9Q6wWg6rFVpLS2uL9QrFo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RYNWLnVbKM4xHO28n29WEcF6mje2egR5or43iUYgI8Y=; b=obK7yAbtv2PadAYsYhHcnaOeC4hW9h0hXJI0tWZiTOvi2/QOqFExqE/hq2Ej98eh0x UnPOY3wllcrK4dEXzx+ywsyHh2HgUgeQFkPvBdFFrTaPzNtlXkz7pj494WHFnSjMqNaB 07ajNhTXwEuOD+xX3bd2JQHsKlSAMQw68PAk2PGkmYaSjaEpI2tXKkGvDQRzpgEK8+0M cmNVcC+uXx+wj7BpneXhtwQwQllbMNe9/kxJydxeYRQZbxOOMDSa7ET20+D0SbPQKXSC tQGPZY4LUNgnsYmScq7WnKsq0A34C6dXF/prwUmPY2nMQpZNURtEyUQ9xZhW8baMO1+3 GgVA== X-Gm-Message-State: AOAM533JuMt+0SPnXPMuN5lnyYIb/HXmrhMBKKjwwfPB8lT8Z/zCzcdI UJoZGCoQ9RVOaUyC4s92O8nzNGr6p3qXomSg X-Received: by 2002:a05:651c:1a29:b0:246:40e7:6360 with SMTP id by41-20020a05651c1a2900b0024640e76360mr3114630ljb.61.1645466187415; Mon, 21 Feb 2022 09:56:27 -0800 (PST) Received: from mail-lj1-f172.google.com (mail-lj1-f172.google.com. [209.85.208.172]) by smtp.gmail.com with ESMTPSA id q9sm32172ljh.118.2022.02.21.09.56.26 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 09:56:26 -0800 (PST) Received: by mail-lj1-f172.google.com with SMTP id e8so7862572ljj.2 for ; Mon, 21 Feb 2022 09:56:26 -0800 (PST) X-Received: by 2002:a2e:aa1f:0:b0:244:c2ea:7f20 with SMTP id bf31-20020a2eaa1f000000b00244c2ea7f20mr14792237ljb.164.1645466186113; Mon, 21 Feb 2022 09:56:26 -0800 (PST) MIME-Version: 1.0 References: <8f331927-69d4-e4e7-22bc-c2a2a098dc1e@gmail.com> In-Reply-To: <8f331927-69d4-e4e7-22bc-c2a2a098dc1e@gmail.com> From: Linus Torvalds Date: Mon, 21 Feb 2022 09:56:10 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Linux 5.17-rc5 To: Woody Suwalski , Eric Dumazet , Pablo Neira Ayuso , Florian Westphal Cc: Linux Kernel Mailing List , Netdev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Mon, Feb 21, 2022 at 6:23 AM Woody Suwalski wrote: > > Compile failed like reported by Robert Gadson in > https://lkml.org/lkml/2022/2/20/341 > > As a workaround: > nf_defrag_ipv6.patch > --- a/net/netfilter/xt_socket.c 2022-02-21 07:29:21.938263397 -0500 > +++ b/net/netfilter/xt_socket.c 2022-02-21 07:40:16.730022272 -0500 > @@ -17,11 +17,11 @@ > #include > #include > > -#if IS_ENABLED(CONFIG_IP6_NF_IPTABLES) > +//#if IS_ENABLED(CONFIG_IP6_NF_IPTABLES) > #include ... Hmm. That may fix the compile failure, but it looks somewhat broken to me. Other cases of nf_defrag_ipv6_disable() end up being protected by #if IS_ENABLED(CONFIG_NF_TABLES_IPV6) at the use-point, not by just assuming it always exists even when CONFIG_NF_TABLES_IPV6 is off. So I think the proper fix is something along the lines of --- a/net/netfilter/xt_socket.c +++ b/net/netfilter/xt_socket.c @@ -220,8 +220,10 @@ static void socket_mt_destroy(const struct xt_mtdtor_param *par) { if (par->family == NFPROTO_IPV4) nf_defrag_ipv4_disable(par->net); +#if IS_ENABLED(CONFIG_IP6_NF_IPTABLES) else if (par->family == NFPROTO_IPV6) nf_defrag_ipv6_disable(par->net); +#endif } instead. Entirely untested, because that's how I roll, but I suspect the netfilter people will know what to do. Added guilty parties and mailing list to the participants. Linus