Re: [PATCH v2 net 2/2] geneve: avoid using stale geneve socket.

2016-10-29 Thread David Miller
From: Pravin B Shelar Date: Fri, 28 Oct 2016 09:59:16 -0700 > This patch is similar to earlier vxlan patch. > Geneve device close operation frees geneve socket. This > operation can race with geneve-xmit function which > dereferences geneve socket. Following patch uses RCU > mechanism to avoid th

[PATCH v2 net 2/2] geneve: avoid using stale geneve socket.

2016-10-28 Thread Pravin B Shelar
This patch is similar to earlier vxlan patch. Geneve device close operation frees geneve socket. This operation can race with geneve-xmit function which dereferences geneve socket. Following patch uses RCU mechanism to avoid this situation. Signed-off-by: Pravin B Shelar Acked-by: John W. Linvill