# Re: \[PATCH net-next 14/22\] vxlan: Flow based tunneling

- From: Thomas Graf \<tgraf@suug.ch\>
- Date: 2015-07-20 11:49:31 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/07/10992174
- Thread: https://ratatoskr.run/netdev/2015/07/10992035/t.md

```text
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 ;)
```
