[ovs-git] [openvswitch/ovs] 76e671: datapath: backport: vxlan: avoid using stale vxlan...
GitHub
noreply at github.com
Tue Nov 1 05:03:06 UTC 2016
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: 76e671eade402048c8050f383f72fd71e977f83b
https://github.com/openvswitch/ovs/commit/76e671eade402048c8050f383f72fd71e977f83b
Author: Pravin B Shelar <pshelar at ovn.org>
Date: 2016-10-31 (Mon, 31 Oct 2016)
Changed paths:
M datapath/linux/compat/include/net/vxlan.h
M datapath/linux/compat/vxlan.c
Log Message:
-----------
datapath: backport: vxlan: avoid using stale vxlan socket.
Upstream commit:
commit c6fcc4fc5f8b592600c7409e769ab68da0fb1eca
Author: pravin shelar <pshelar at ovn.org>
Date: Fri Oct 28 09:59:15 2016 -0700
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 at ovn.org>
Signed-off-by: David S. Miller <davem at davemloft.net>
Signed-off-by: Pravin B Shelar <pshelar at ovn.org>
Acked-by: Joe Stringer <joe at ovn.org>
More information about the git
mailing list