Thread (20 messages) 20 messages, 4 authors, 2015-07-20

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

flat view

From: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Date: 2015-07-20 17:41:17

On Mon, Jul 20, 2015 at 02:15:22PM -0300, Marcelo Ricardo Leitner wrote:
On Fri, Jul 17, 2015 at 02:55:33PM +0200, Thomas Graf wrote:

[ snip ]
quoted
@@ -2373,6 +2470,12 @@ static void vxlan_setup(struct net_device *dev)
 	netif_keep_dst(dev);                     ---> (a)
 	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);             ---> (b)
+
 	INIT_LIST_HEAD(&vxlan->next);
 	spin_lock_init(&vxlan->hash_lock);
 
Sounds like after 0287587884b1 ("net: better IFF_XMIT_DST_RELEASE
support"), which introduced (a) above, (b) is not needed?
Oops, it was already reported by Alexei.

  Marcelo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help