aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorpravin shelar <pshelar@ovn.org>2016-10-28 12:59:15 -0400
committerDavid S. Miller <davem@davemloft.net>2016-10-29 20:56:31 -0400
commitc6fcc4fc5f8b592600c7409e769ab68da0fb1eca (patch)
tree4fafb69c92e2169209dfb66452b7d92e8abfb11c /net/switchdev/switchdev.c
parent087892d29b75c025086d99b29d385a3dac0169fc (diff)
vxlan: avoid using stale vxlan socket.
When vxlan device is closed vxlan socket is freed. This operation can race with vxlan-xmit function which dereferences vxlan socket. Following patch uses RCU mechanism to avoid this situation. Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions