Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp527420img; Mon, 18 Mar 2019 08:25:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxH5DquXu7NWtangm6MhQ1xlaO/lAI6nnDAE8C72bdWqYcPyDP7BrRmnXrJZ5l/ZA22yuOV X-Received: by 2002:a63:7e0e:: with SMTP id z14mr18273866pgc.436.1552922709802; Mon, 18 Mar 2019 08:25:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552922709; cv=none; d=google.com; s=arc-20160816; b=jcr6bQkmTJ+uTIeo6EU06DCbbx6iadwgK50wE6IUzmNFYcWEDBttAocWOvrv0IvNoe +nj4wixulFcI9s4II0ek8rqBr/9QmS8/BYNBd+iVSYziet9qE5SDRCiZjssOSY8rfIvT LdGAQ+76nN2D6zdAHFBO6L64Yx6vNVDLsMCSUocnyXjjW2IaEhbnR88VMbBTgHbzHth9 8QIEfJohdgYdbA0tNMU0EqITuTpbxElJX0NC/6+mkkrR8cyJQRSGUAhN2hokWbqrS0Dl 5MnkyufibIgmxlGjhq8xGgF4I2CiSdkH+CiiNu/xBY25gAAjXch8yg8FgZow2BUF4jOd W+7Q== 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; bh=I+LFT+2Elw6Sm1JN+TMWh1qyB3eoSv2mZgtjcX2/sTo=; b=gnkxE+dL/7bP0WWZeD9byEUvQ1SseyJeEsJdxeP9G9xkqTka5NOrJjsKxZ2cLX0lkj oM1+lW5Z5JUZSkvCer0DDGJOH4lo8bdwpqfbZzdfbd+yETj0Yxu2ST5IMJaTHo9Gx4kh XPRdS8/UR4t4Q5qzFXY8621Wn+qZqORDZl878q6aBkz39NjwMaxYxB43ZsoF2NZpdssd A3fs2En7UIIux28A6ZMCxcwIlI7GWk6dYkO6KvVUaXcOIL522FNf9PgXs1gy8/9gBoZK /j4NL/VHZIRC7liBFoTZ7sqCPkirIIwAwCh/LDgF4hMjxnp3iUIYGwmvQTSSsA6BzILf ShVg== 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 l7si10473037plg.320.2019.03.18.08.24.53; Mon, 18 Mar 2019 08:25:09 -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 S1727276AbfCRPWp (ORCPT + 99 others); Mon, 18 Mar 2019 11:22:45 -0400 Received: from ganesha.gnumonks.org ([213.95.27.120]:35959 "EHLO ganesha.gnumonks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726757AbfCRPWo (ORCPT ); Mon, 18 Mar 2019 11:22:44 -0400 X-Greylist: delayed 1293 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 Mar 2019 11:22:44 EDT Received: from [195.39.71.253] (helo=gnumonks.org) by ganesha.gnumonks.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1h5u63-0002iF-Cj; Mon, 18 Mar 2019 16:22:41 +0100 Date: Mon, 18 Mar 2019 16:22:39 +0100 From: Pablo Neira Ayuso To: Arnd Bergmann Cc: Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , =?iso-8859-1?Q?M=E1t=E9?= Eckl , Taehee Yoo , Randy Dunlap , Stephen Rothwell , Fernando Fernandez Mancera , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v2] netfilter: fix NETFILTER_XT_TARGET_TEE dependencies Message-ID: <20190318152239.qtlyyimtdwqygq2q@salvia> References: <20190313211622.389120-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190313211622.389120-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Spam-Score: -2.7 (--) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 13, 2019 at 10:15:59PM +0100, Arnd Bergmann wrote: > With NETFILTER_XT_TARGET_TEE=y and IP6_NF_IPTABLES=m, we get a link > error when referencing the NF_DUP_IPV6 module: > > net/netfilter/xt_TEE.o: In function `tee_tg6': > xt_TEE.c:(.text+0x14): undefined reference to `nf_dup_ipv6' > > The problem here is the 'select NF_DUP_IPV6 if IP6_NF_IPTABLES' > that forces NF_DUP_IPV6 to be =m as well rather than setting it > to =y as was intended here. Adding a soft dependency on > IP6_NF_IPTABLES avoids that broken configuration. Applied, thanks Arnd.