Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1040268imm; Tue, 5 Jun 2018 08:14:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKe9RJM2Ghmqn/ikoTbGu3iYdhh9tEFxMGHI2Fsbbf+Xu7LCVZbY/oRpGoDBiPRex3HfDn7 X-Received: by 2002:a17:902:7888:: with SMTP id q8-v6mr12014322pll.79.1528211684215; Tue, 05 Jun 2018 08:14:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528211684; cv=none; d=google.com; s=arc-20160816; b=oVoacsj6iR7KVOfbJS1OxpUXQzw4xAvnkWMPn1FJnywYFZl3Ktj0+jC5vAIJzehqWT NsOgBas2IN7Wj0NnPRXjPcO8IQfhl4eOfBOrJxDpASkXMcjWIM0KJ4KXm5Us3y0XmjEr Po9ZoLoQKDz63vIV9gVb6h4J/EDYApHI+oSLpw0TgXVykKp5HKAxzDWUSVhoup4Th0kG 74PDSCUY0/8z0R8PfpoinK6hheAKefhHtYkpsw2K9v9HJF9D3YfiOd6xtL730dtHa8Qy D9Zf7okZoT+DqrQx0PAnRS1+8xLQbbDFWPc0OGyQnUEWrLvA88dqKTkF9VGSZCWXopQZ WReg== 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=ltkA0sfXsHA+GIte8tLHexI+JrGKXtb+BDsriA6v/zE=; b=p1/h4t1BWWrZ/4YHb5dkw+0HjNhiyu41JU9Qzfpf0TaLitZsGHgRcdDRLRsHxYY24m nu5xBkgY+JN8ynOctviVgwz6FSgxUYdU8xAeH30jfNeH985YU1bvBJVlfx9Gl/CHfD/h 1476JG7e/FtNlp51bJTctCWfkzPYrpKUYHZrXaSLveR1LG9TppnJtjIqFDMa1A9zmsHv iNBQFEvdCiNRlrHFF7EOwyWWaoGon+VrrdoTeR4sK+J7yflD8O6P3Dprh3HPvyGTP2Xz rRuMsHi/tveNLIzsyoiocjNSiYOzCcfqqgVTl7AA6g/Qd6efp37Nm6b0wj4/xMDeH1IY hTGg== 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 b6-v6si18484316pgv.595.2018.06.05.08.14.29; Tue, 05 Jun 2018 08:14:44 -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 S1751919AbeFEPMt (ORCPT + 99 others); Tue, 5 Jun 2018 11:12:49 -0400 Received: from mail.us.es ([193.147.175.20]:40498 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751788AbeFEPMr (ORCPT ); Tue, 5 Jun 2018 11:12:47 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 58D08174D22 for ; Tue, 5 Jun 2018 17:11:31 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 48C79DA840 for ; Tue, 5 Jun 2018 17:11:31 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id 3E1B2DA814; Tue, 5 Jun 2018 17:11:31 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on antivirus1-rhel7.int X-Spam-Level: X-Spam-Status: No, score=-108.2 required=7.5 tests=ALL_TRUSTED,BAYES_50, SMTPAUTH_US2,USER_IN_WHITELIST autolearn=disabled version=3.4.1 Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 3572ADA844; Tue, 5 Jun 2018 17:11:24 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Tue, 05 Jun 2018 17:11:24 +0200 (CEST) X-Virus-Status: clean(F-Secure/fsigk_smtp/550/antivirus1-rhel7.int) Received: from us.es (sys.soleta.eu [212.170.55.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 1984lsi) by entrada.int (Postfix) with ESMTPSA id F3F094265A5C; Tue, 5 Jun 2018 17:11:23 +0200 (CEST) Date: Tue, 5 Jun 2018 17:12:37 +0200 X-SMTPAUTHUS: auth mail.us.es From: Pablo Neira Ayuso To: David Miller Cc: arnd@arndb.de, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, ecklm94@gmail.com, pabeni@redhat.com, willemb@google.com, edumazet@google.com, dsahern@gmail.com, kafai@fb.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netfilter: provide udp*_lib_lookup for nf_tproxy Message-ID: <20180605151237.x6u3l3ssgzn2b6gb@salvia> References: <20180605114056.1239571-1-arnd@arndb.de> <20180605.105453.339908802413146875.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180605.105453.339908802413146875.davem@davemloft.net> User-Agent: NeoMutt/20170113 (1.7.2) X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 05, 2018 at 10:54:53AM -0400, David Miller wrote: > From: Arnd Bergmann > Date: Tue, 5 Jun 2018 13:40:34 +0200 > > > It is now possible to enable the libified nf_tproxy modules without > > also enabling NETFILTER_XT_TARGET_TPROXY, which throws off the > > ifdef logic in the udp core code: > > > > net/ipv6/netfilter/nf_tproxy_ipv6.o: In function `nf_tproxy_get_sock_v6': > > nf_tproxy_ipv6.c:(.text+0x1a8): undefined reference to `udp6_lib_lookup' > > net/ipv4/netfilter/nf_tproxy_ipv4.o: In function `nf_tproxy_get_sock_v4': > > nf_tproxy_ipv4.c:(.text+0x3d0): undefined reference to `udp4_lib_lookup' > > > > We can actually simplify the conditions now to provide the two functions > > exactly when they are needed. > > > > Fixes: 45ca4e0cf273 ("netfilter: Libify xt_TPROXY") > > Signed-off-by: Arnd Bergmann > > Pablo, I'm going to apply this directly to fix the link failure. > > Thanks Arnd. Thanks David.