Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6058629imb; Fri, 8 Mar 2019 08:23:25 -0800 (PST) X-Google-Smtp-Source: APXvYqyoHrtErEG+XFlLXS/QrYNCZnwDD1XM1WB8iyeFqHKABZ++Z7ftcz/11Rc2sTMOYe2vQbLL X-Received: by 2002:a65:6210:: with SMTP id d16mr3723812pgv.189.1552062205723; Fri, 08 Mar 2019 08:23:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552062205; cv=none; d=google.com; s=arc-20160816; b=uQDUR6sskXe3pHGWR+PyO7qoKSydUhB49SSq9nfxgomzs8hjex1di393NoDKUlP5Pf UlfZA5uiu9ILxsZOdJ7spNdSf86gtuCNG9ySkPxwJc/I+DABTGTT+RKpn2HKMMnwtPYk THz/9LfjnapxM815wnY641duGjws1KE3SBj/5frAn2wYsGdm6WDm0rpMZgXmKaIW2iFH xK/BvtxHo6tYStEDty2+I58uwOcn6geqEA3ipVU/7QUxD/fG229WbjlAL+YckK1IWcvz z/g374nIchLIHsZbI6ixSFBU7jNKyyblKE0Sm6RZ2l9deAhgHzTQ4p5Y1aTNaB7deHAh 9CTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+esDnUsohReefzTuWpziQBDSnQQiyKYKmSvyHvyE2Uw=; b=wRNim31UeiJaM00GicDQdVlSZkKm9k7BmWDXax3sgwzkyELLFi1Rv7y4HJUytzP7j/ LY/yZDwVufAaV7hu91msj/nB3DrXnpSm6034yT9Y4NVcPOzkSn0+XpqXTKwLFyW07wKt 76dU4BJr72mwRSbRK/2DT/baQqX74J6gqK1GH9FNxI+xfz3a19+SmopOfNlqszCobRh4 wG7sc5hinE2CKVnOBZIDfkWkJeYe8BJJ3WaPxY5IJuLvCBysEYTwSqrPum7ibGrA/zXJ lWY9bIDdFEo7WOFs/5al2gVuCIEnNsw/GvSg1/5ce5Q6A6FZtbORTnlYYmJIp4QysfIo pebg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NYaYMGDP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k19si6041469pfi.31.2019.03.08.08.23.10; Fri, 08 Mar 2019 08:23:25 -0800 (PST) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NYaYMGDP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726636AbfCHQWL (ORCPT + 99 others); Fri, 8 Mar 2019 11:22:11 -0500 Received: from mail-yw1-f67.google.com ([209.85.161.67]:43754 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726412AbfCHQWL (ORCPT ); Fri, 8 Mar 2019 11:22:11 -0500 Received: by mail-yw1-f67.google.com with SMTP id d129so2825015ywe.10; Fri, 08 Mar 2019 08:22:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=+esDnUsohReefzTuWpziQBDSnQQiyKYKmSvyHvyE2Uw=; b=NYaYMGDPCTUlJzg33yIZLGhZrf95+iJ61Q6xFYM3gZgUBh1UE+CJ+/w1/AH2zawmuR L0PpR+Dmt4x7deORBv2XcVuByu6vm6F4FLVAjDv2EavVDHk5L1UVyV8eEDeFsy/xqr18 HtiGjE6OCRin48GHUTUjQ+KvQ8TtAHq2ibL2yJaoyolcH9J27XEN497sDFnLFLBQAbyw S0zG5D/u8B0pmP1haXCNFPBypzJctGvtNZjXmAa0ISKdXEYq5UtmV/GDDHMiRHLBgCfX NlJcWcsiPJzDVZYohyGe4hxCeG7i8TydRIubH7MyiqKgM8hmwkm+EEISvtLVijr277Mr UKtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=+esDnUsohReefzTuWpziQBDSnQQiyKYKmSvyHvyE2Uw=; b=AZdahTvtAp9R3prd4dFvE8dxFc5g0cPRreGVsd6nhVrmplZ8l1oRyB3Aooie4liWet bu1+E2BmQLMJ+6C1ue7TxooqZvKzT728bQqCL3VHad6+AvcNy54rt8ZMkOFMTsJ+Veta MtPJ9cmoTRp13jetHB1JEcPYK3R328RbNnE0pXIr1T8jZIhiEx/GYOnzeJ65geGt/uii JhtBlJ0Z2ncbOq/5jjlP0m+laSGuNb+A0wRQM7k8tpK82wQZhZjFvEyd/eJbI1LpnmPy gWjseqeYcV6jmkQCbRuBzWijUNfsHvNfqVDstJIX7Gd6G9uCi6gK67MH8knJ+3l5KQVO GQcA== X-Gm-Message-State: APjAAAXXNW52Fryj6ijoh6gPKtrpFNvctQyJdA2r5ciFbk9x3zn5hPPZ LApfTdZSA/S5plBMXsdxzuXIFdxlmjfX0PfcD1Q= X-Received: by 2002:a81:27d5:: with SMTP id n204mr15139768ywn.495.1552062130243; Fri, 08 Mar 2019 08:22:10 -0800 (PST) MIME-Version: 1.0 References: <20190304204019.2142770-1-arnd@arndb.de> <20190308160441.ler2hs44oaozoq7w@salvia> In-Reply-To: <20190308160441.ler2hs44oaozoq7w@salvia> From: =?UTF-8?B?QWxpbiBOxINzdGFj?= Date: Fri, 8 Mar 2019 17:21:59 +0100 Message-ID: Subject: Re: [PATCH] netfilter: nf_conntrack_sip: fix IPV6 dependency To: Pablo Neira Ayuso Cc: Arnd Bergmann , Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , =?UTF-8?B?TcOhdMOpIEVja2w=?= , Fernando Fernandez Mancera , netfilter-devel , coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pablo, On Fri, Mar 8, 2019 at 5:04 PM Pablo Neira Ayuso wrote: > > hi Arnd, > > Cc'ing Alin Nastac. > > On Mon, Mar 04, 2019 at 09:40:12PM +0100, Arnd Bergmann wrote: > > With CONFIG_IPV6=m and CONFIG_NF_CONNTRACK_SIP=y, we now get a link failure: > > > > net/netfilter/nf_conntrack_sip.o: In function `process_sdp': > > nf_conntrack_sip.c:(.text+0x4344): undefined reference to `ip6_route_output_flags' > > I see. We can probably use nf_route() instead. > > Or if needed, use struct nf_ipv6_ops for this. > > if (v6ops) > ret = v6ops->route_xyz(...); > > @Alin: Would you send us a patch to do so to fix a3419ce3356cf1f > netfilter: nf_conntrack_sip: add sip_external_media logic". nf_ip6_route(net, &dst, &fl6, false) seems to be appropriate. I'll send the patch Monday.