Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4123452pxb; Mon, 21 Feb 2022 12:43:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJzDWRtpbGE0OLcDswVTrey73Yws3x3va88t5ZoLT68Q50q0xRouDWuJgEpOUIZA/0tAwMwo X-Received: by 2002:a17:902:7083:b0:14f:bb5c:bc0f with SMTP id z3-20020a170902708300b0014fbb5cbc0fmr6094903plk.77.1645476209409; Mon, 21 Feb 2022 12:43:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645476209; cv=none; d=google.com; s=arc-20160816; b=cjOFvCsqJkwa6edHTS4cNEUQ9ctLQWf1QzQwIecA8eMVTaBHa31JO95IezPW1KDR2c modkIhUEpPgW02LkBa3pGS3b08o9aZgrwCMET+DKAipIZlzgsOQt9GzoSXZOy2eErKcn sj22S2q+NISfnDW2wzgT9dd1zVSkMA47mYyBN2q/ZDLS2N+nKwFm1bSI3ityfFyW1P3E Rg5Iee8oT6dV7P0PfudFS6hhBl1eWqZiBjJNK5XHsEsEklkI0xJVv+87N7cd54p2JyL3 HGJJ5pnfBpDF4IADL5A/so4FVTeqoJnx0lMyiKlG+V4Q+0MzFOBW1JghBOnhouqYrIn8 Mt0Q== 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=gCnwk+1fZd2CNAqs8BK/DEcQnsMZ5KV6kM4CCv+XVUE=; b=Q2pN+9flTcbnhCVd4GH/+QOLsfgjeTdzqYz961ZtBS32PGrVx1WDfdraKVhbGe+ECb C8pQSlnX7QiyjbdXHMkk6VqZ1KR2JSHoCrz5+dLATCjQl3vw5Wa//lsD7B14mrSSY6Q1 vR+0ao5AjVUonvYIKIfVyaSL2T+LnCTltoUJxZsG+BUv5kpGT13zqFDilpFty68C8JB+ V6vMuTlHTqamKBU2p18pJVJLgjn6ADCOs0MYTlXlIXFRlCBB/3w6TWbvFouiTkZ0ZoxN Dsl/yuFtYegzSNGLD0unmfZ+sLa9B/Zk+lNaXfi7w0IIDC1lPDcj+GRY0tiZm96tF5x4 9CLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Y41xGrzI; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5si18136354pgq.568.2022.02.21.12.43.14; Mon, 21 Feb 2022 12:43:29 -0800 (PST) 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; dkim=pass header.i=@google.com header.s=20210112 header.b=Y41xGrzI; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230148AbiBUSOZ (ORCPT + 99 others); Mon, 21 Feb 2022 13:14:25 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:40334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231436AbiBUSLk (ORCPT ); Mon, 21 Feb 2022 13:11:40 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF24013DCA for ; Mon, 21 Feb 2022 10:02:04 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-2d6923bca1aso138098807b3.9 for ; Mon, 21 Feb 2022 10:02:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gCnwk+1fZd2CNAqs8BK/DEcQnsMZ5KV6kM4CCv+XVUE=; b=Y41xGrzIr+L/F15uGmFs1ADcDgdKMDPg8RTj9wutV/T5sVvjPalRvyMbI/mE7H4Azd PfPgtKwe6aJ4FtAlBGRZWamLzZOd8Hn9HrkP1OQLqPp4AyychKcJgLeZW2naPUETbWkj AOyGODFYi+Mo17air25626pWvCec6oM/7UBJ04ywVrcgA86ohGAtOvfcQkb51Zr43fLB LUWoksIxfT6lbV6qwZf8njlVK2WvnTdlmkHsCO/fFWfst30HglsX/YEs9xPGgpIQnprI vbMdKKzPuuJ1RGbzxkSeqOiK1vM9CwvvflmCGNePgi95EbKMZILnS9wK4volIsp5wZK6 xxwQ== 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=gCnwk+1fZd2CNAqs8BK/DEcQnsMZ5KV6kM4CCv+XVUE=; b=kZj3LtmoxOVzA+oc7AUfQsPT4rK7CjeGPpuUJfR7JJB5T1NwoiVmjfk6J5MIwvvzFF hNI/ibXoB1iTB6Rzm7P2iNpQxKq4S2GHfU9uoSqzVpgJPejCof4zDT7xcSoghMzItshV aixILMleKV1aRZYiMViQj4RCRxxd7s5BjD7hXYjhH/BdcbVyflawVev2V8o+a7JcNIqn Ip01LrrKtnuO27mCh3O33RKskwUg/J9OIuLpBnvY2rj78w6U3DfY57qNEc9RInQbBj9y zXCmSOXZDumsyCG1AvPaSnOufEe5K5LUgeT0jMowSWism3vXzCAO/GCdhptbr5BJama1 4TLA== X-Gm-Message-State: AOAM532JG6EvUn1bgaw0yhr5ewJyGyikMA4VK2z2DNnZ+5+mymBK0/4f E38JSaCBqdhIP0gMYukNZos+GUqzImMJnMACn98a9g== X-Received: by 2002:a81:993:0:b0:2d6:15f5:b392 with SMTP id 141-20020a810993000000b002d615f5b392mr20619739ywj.489.1645466523677; Mon, 21 Feb 2022 10:02:03 -0800 (PST) MIME-Version: 1.0 References: <8f331927-69d4-e4e7-22bc-c2a2a098dc1e@gmail.com> In-Reply-To: From: Eric Dumazet Date: Mon, 21 Feb 2022 10:01:52 -0800 Message-ID: Subject: Re: Linux 5.17-rc5 To: Linus Torvalds Cc: Woody Suwalski , Pablo Neira Ayuso , Florian Westphal , Linux Kernel Mailing List , Netdev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Mon, Feb 21, 2022 at 9:56 AM Linus Torvalds wrote: > > 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 I am pretty sure Pablo fixed this one week ago. https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git/commit/?id=2874b7911132f6975e668f6849c8ac93bc4e1f35