From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hajime Tazaki Subject: Re: [PATCH net-next] net: Fix vti use case with oif in dst lookups for IPv6 Date: Wed, 21 Oct 2015 11:38:06 +0900 Message-ID: References: <1444055571-82546-1-git-send-email-dsa@cumulusnetworks.com> <20151009071710.GJ7701@secunet.com> <5617F908.8060807@cumulusnetworks.com> <561A64B4.5080301@cumulusnetworks.com> <561AA3FA.7070001@cumulusnetworks.com> <56267E80.5030500@cumulusnetworks.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Cc: steffen.klassert@secunet.com, netdev@vger.kernel.org To: dsa@cumulusnetworks.com Return-path: Received: from mail-pa0-f46.google.com ([209.85.220.46]:34142 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753160AbbJUCiL (ORCPT ); Tue, 20 Oct 2015 22:38:11 -0400 Received: by padhk11 with SMTP id hk11so39497090pad.1 for ; Tue, 20 Oct 2015 19:38:11 -0700 (PDT) In-Reply-To: <56267E80.5030500@cumulusnetworks.com> Sender: netdev-owner@vger.kernel.org List-ID: At Tue, 20 Oct 2015 11:48:48 -0600, David Ahern wrote: > > the conditions are > > > > - sendmsg () with INET6/RAW socket (with IPPROTO_MH) > > - ip6_pktinfo.ipi6_addr (fl6.saddr) and ipi6_oif > > (fl6.flowi6_oif) are non-NULL. > > => ipi6_addr (fl6.saddr) is not the IP address of oif, but > > another interfaces (home address of mip6) > > interesting. so forcing a send out of interface X but using the source > address of interface Y. > > Does the attached patch work for you? this patch works fine for the above case. other tests of mine are also fine. many thanks ! -- Hajime