diff options
author | pravin shelar <pshelar@ovn.org> | 2016-10-28 09:59:16 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-10-29 20:56:31 -0400 |
commit | fceb9c3e38252992bbf1a3028cc2f7b871211533 (patch) | |
tree | 000b9e33ea52a048943fbb7c243fc461733f3ccb /net/core/dev.c | |
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>
Diffstat (limited to 'net/core/dev.c')
0 files changed, 0 insertions, 0 deletions