[ovs-dev] [PATCH net-next 14/22] vxlan: Flow based tunneling

Thomas Graf tgraf at suug.ch
Mon Jul 20 11:49:28 UTC 2015


On 07/17/15 at 11:41am, Alexei Starovoitov wrote:
> On 7/17/15 5:55 AM, Thomas Graf wrote:
> >@@ -2373,6 +2470,12 @@ static void vxlan_setup(struct net_device *dev)
> >  	netif_keep_dst(dev);
> >  	dev->priv_flags |= IFF_LIVE_ADDR_CHANGE;
> >
> >+	/* If in flow based mode, keep the dst including encapsulation
> >+	 * instructions for vxlan_xmit().
> >+	 */
> >+	if (vxlan->flags & VXLAN_F_FLOW_BASED)
> >+		netif_keep_dst(dev);
> 
> hmm, isn't this done already few lines above? ;)

Good point, fixed ;)



More information about the dev mailing list