commit | fceb9c3e38252992bbf1a3028cc2f7b871211533 | [log] [tgz] |
---|---|---|
author | pravin shelar <pshelar@ovn.org> | Fri Oct 28 09:59:16 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sat Oct 29 20:56:31 2016 -0400 |
tree | 000b9e33ea52a048943fbb7c243fc461733f3ccb | |
parent | c6fcc4fc5f8b592600c7409e769ab68da0fb1eca [diff] |
geneve: avoid using stale geneve socket. 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 <pshelar@ovn.org> Acked-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>