[ovs-git] [openvswitch/ovs] 136e42: datapath: backport: vxlan: avoid using stale vxlan...
GitHub
noreply at github.com
Tue Nov 1 05:03:39 UTC 2016
Branch: refs/heads/branch-2.6
Home: https://github.com/openvswitch/ovs
Commit: 136e425df95153794f03eac2fa0e7583a391d371
https://github.com/openvswitch/ovs/commit/136e425df95153794f03eac2fa0e7583a391d371
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