@@ -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);