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

2016-10-28 Thread Pravin Shelar
On Fri, Oct 28, 2016 at 7:27 AM, John W. Linville wrote: > On Thu, Oct 27, 2016 at 11:51:56AM -0700, Pravin B Shelar wrote: >> This patch is similar to earlier vxlan patch. >> Geneve device close operation frees geneve socket. This >> operation can race with geneve-xmit

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

2016-10-28 Thread John W. Linville
On Thu, Oct 27, 2016 at 11:51:56AM -0700, Pravin B Shelar wrote: > 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

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

2016-10-27 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 ---