Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1879750imm; Fri, 6 Jul 2018 08:05:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe7ZCN3q6WCQruz4QIJt4jYlOxJJcLHezV+2bVVMJvka4GF2KadTk/seoqMJxhDZcGU7zf4 X-Received: by 2002:a62:403:: with SMTP id 3-v6mr10921835pfe.28.1530889533097; Fri, 06 Jul 2018 08:05:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530889533; cv=none; d=google.com; s=arc-20160816; b=0q0VVKAVUKHlfatij4OBAzY5P0rP9RzAKWpfh2LVAITbfZTj8jIBxpmNO/13yCgJdz JIMez6NkeZg+2Zs2k7Y20KX9aq/lsaRiUGSxveKJz4WThX3FiWFeMnaZspnR9h/ACp4k /4kXXxs3V60xWdMn7K+0Jnq1MIaxgQm6G1EVALiqy9zjyB3xlltOU4JTd52rmt2r6XWu 2GUJKnt7eLH8eWNn5OXtTNG31lswVo6nVvbUYiPabHtbXFZ5QUGWXFCoJWf8+3/S+ScY TjZvt3nRrLtKQKWTTo9vjFBHbpBbPW8fzsFAmJPZoj2xN6/PGVJngkBXnojYL5OyFSIe L2dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Jjl32C6dw/snxifqOoTH9EpCHUWpopeiE4dFHWzWPAA=; b=fPvoFzXGTYFSjg8zabifoXPtqO3PJMb6+Qwt3IF5I0UaMfR4fYw+yyKfrfYyT5dbUB SHgql8dmK1zbeNqUUtvMFzQdvawnG7LWyIXf0vVaqB25YJ9E29Jv8ZHkr+gVVhMMLQFu t8u3j0tj6P8M0Rb1gpChPsBAKXdkgZCqhpB5wtTKJHWBQpkN1wwRhc3y1zv1qfHqZMBG /aZcIguiyzea6oumOlG2ndbv95RquXdKXpNqx8/IsUcMCfRJ8XqgA5VxiaK/S5Cd1IbR 04cJra9GXlWc1bx3z+Whrrk7n8cBHxlv76mS8BsDEWg6JTKr0HVwf6cQCMxIup7KmkbX hAaA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si8207208plg.301.2018.07.06.08.05.17; Fri, 06 Jul 2018 08:05:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933181AbeGFPCb (ORCPT + 99 others); Fri, 6 Jul 2018 11:02:31 -0400 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:53250 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932925AbeGFPAs (ORCPT ); Fri, 6 Jul 2018 11:00:48 -0400 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.89) (envelope-from ) id 1fbSDt-0007n8-9t; Fri, 06 Jul 2018 17:00:37 +0200 Date: Fri, 6 Jul 2018 17:00:37 +0200 From: Florian Westphal To: Arnd Bergmann Cc: Florian Westphal , Pablo Neira Ayuso , Jozsef Kadlecsik , "David S. Miller" , =?iso-8859-15?Q?M=E1t=E9?= Eckl , Fernando Fernandez Mancera , "Pablo M. Bermudo Garay" , Felix Fietkau , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, Networking , Linux Kernel Mailing List Subject: Re: [PATCH] netfilter: conntrack: add weak IPV6 dependency Message-ID: <20180706150037.knqt736uq6uyh3bs@breakpoint.cc> References: <20180706130005.3640993-1-arnd@arndb.de> <20180706135516.viz6pjtkdmcoqq2l@breakpoint.cc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann wrote: > and that resulted in a new build failure: > > net/netfilter/nf_conntrack_proto.o:(.rodata+0x788): undefined > reference to `nf_conntrack_l4proto_icmpv6' > net/ipv6/netfilter/nf_conntrack_reasm.o: In function `nf_ct_frag6_expire': > nf_conntrack_reasm.c:(.text+0x2320): undefined reference to > `ip6_expire_frag_queue' > net/ipv6/netfilter/nf_conntrack_reasm.o: In function `nf_ct_frag6_init': > nf_conntrack_reasm.c:(.text+0x2384): undefined reference to `ip6_frag_init' > nf_conntrack_reasm.c:(.text+0x2394): undefined reference to `ip6_frag_init' > nf_conntrack_reasm.c:(.text+0x2398): undefined reference to `ip6_rhash_params' > net/ipv6/netfilter/nf_conntrack_reasm.o: In function `nf_ct_frag6_expire': > nf_conntrack_reasm.c:(.text+0x10bc): undefined reference to > `ip6_expire_frag_queue' > > I don't think we can get CONFIG_NF_DEFRAG_IPV6=y to work with IPV6=m. Yes, not with current implementation, but I still don't think this is unavoidable. In case this is urgent I'm fine with the patch that adds the dependency, otherwise I'd like to try and disentangle nf_conntrack_reasm and ipv6.