[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <516B8018.80308@gmail.com>
Date: Sun, 14 Apr 2013 21:20:40 -0700
From: Sridhar Samudrala <samudrala.sridhar@...il.com>
To: Cong Wang <amwang@...hat.com>
CC: Sridhar Samudrala <sri@...ibm.com>,
David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
mike.rapoport@...ellosystems.com
Subject: Re: [Patch net-next] vxlan: revert "vxlan: Bypass encapsulation if
the destination is local"
On 4/14/2013 7:31 PM, Cong Wang wrote:
> On Fri, 2013-04-12 at 16:07 -0700, Sridhar Samudrala wrote:
>> To address this behavior seen with veth, i had to change the if
>> condition to
>> check for rt->dst.dev->flags rather than rt->rt_flags.
> There is no specific IFF_ flag for veth, nor I think introducing one is
> a correct fix.
>
> I think we can just revert it for now, since it is not very easy to fix.
> You can, of course, send a bug-free version later. This regression
> blocks my VXLAN IPv6 support patches, by the way.
>
>
I am not suggesting adding a new IFF_ flag for veth. I was referring to the
IFF_LOOPBACKflag and it should work fine for your setup.
However, i think Mike Rapaport't patch that adds a check to test for
multicast/
broadcast routeisa better fix. Did you try that patch?
I tried it in my setup using both vxlan/DOVE configuration between VMs
in the
same networknamespace on 2 different bridges as well as the veth
configuration
between 2 network namespsaces.
Could you try his patch in your configuration. I think it will work and
if so
we should go withthat patch.
Thanks
Sridhar
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists