Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp824057imm; Wed, 6 Jun 2018 06:34:44 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJLoIr19VBVs/PfoItjzU7CdcrqsDkX3BWG4+hHdOWp3tCkpN+GUOjHCg4G6r5gL/Jiyo6N X-Received: by 2002:a65:44c8:: with SMTP id g8-v6mr2602233pgs.356.1528292084748; Wed, 06 Jun 2018 06:34:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528292084; cv=none; d=google.com; s=arc-20160816; b=Ob36epVodBfUP67ARhBLFPZXgZpH27IQ879wo2AGyzhick0yeIXWdabaQRTdsubEju LOM553mnRmhYLxQ8Sirc8vBSsyLb++ewku7I5baolpiWiFP5FMm5pNZEcnf61cfH1L0O zNZcA7WilvdqY5g7hnzxgFmabyZ7fdDNePDfCcr38E6Ajugwk4sFo04nk1+7Iazzht1+ oYNP7Q71HodN9bHwWs3LmnO26+Aj3mrK4vs6/TD4mMpDIYIXXsTh7HPJQBlMHlU0PKf8 wR3KKJyXyYDQIfyJeFz02Ur5FZILgjGmqN1FOx258BEy4ndyJ/W3EuE188652D99pgkC qr1g== 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=3KiEtfbEv6zBE9bOthugoZkVMRvTtb+IsCf2d83PsEU=; b=jk83jBZulLbkgmF3lWjEDp6d9z5/KrrjyQRijYnD8jxF2CD5hbKp0uJf8ave0Bxjdu Ioz4y64kNY9+SGxs1Jike05wbgcG+oE/u46Oz4gt2lLeJDHzTKre/obwpRm6ySoomq5d lx1bOF3rl/Wpk+cJilK+E7i1gdhlFSElNt7SoHbukEVlQkSNav0rIsJeN12+XamC3R2u yYWqMPOUoeZJo0F7UL5zCo543xxAXVtUiF80RJwZhgwe/ndakJf3CuypIrGFJMQZcrGB +xQzlDWvNUQ7spC82SS8IIDk4DbDE5hBc016HJoEM5OFze77L3N6Mzn/RxykVsJPR8ZG gIzw== 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 t10-v6si51388226plq.547.2018.06.06.06.34.29; Wed, 06 Jun 2018 06:34: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 S1752016AbeFFNdd (ORCPT + 99 others); Wed, 6 Jun 2018 09:33:33 -0400 Received: from mail.us.es ([193.147.175.20]:59300 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751946AbeFFNd3 (ORCPT ); Wed, 6 Jun 2018 09:33:29 -0400 Received: from antivirus1-rhel7.int (unknown [192.168.2.11]) by mail.us.es (Postfix) with ESMTP id 2E5B7E8EA6 for ; Wed, 6 Jun 2018 15:32:13 +0200 (CEST) Received: from antivirus1-rhel7.int (localhost [127.0.0.1]) by antivirus1-rhel7.int (Postfix) with ESMTP id 18D2DDA84D for ; Wed, 6 Jun 2018 15:32:13 +0200 (CEST) Received: by antivirus1-rhel7.int (Postfix, from userid 99) id E9226DA80C; Wed, 6 Jun 2018 15:32:12 +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 55CF0DA56B; Wed, 6 Jun 2018 15:32:10 +0200 (CEST) Received: from 192.168.1.97 (192.168.1.97) by antivirus1-rhel7.int (F-Secure/fsigk_smtp/550/antivirus1-rhel7.int); Wed, 06 Jun 2018 15:32:10 +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 1E9E04265A4E; Wed, 6 Jun 2018 15:32:10 +0200 (CEST) Date: Wed, 6 Jun 2018 15:33:24 +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: <20180606133324.537naj6trahiq26f@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. BTW, could you also pick this fix for net-next? http://patchwork.ozlabs.org/patch/924706/ Thanks.