git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
datapath: Fix a kernel crash when adding a 2nd VXLAN port with existing UDP port
[sliver-openvswitch.git]
/
datapath
/
vport-vxlan.c
diff --git
a/datapath/vport-vxlan.c
b/datapath/vport-vxlan.c
index
a2cbeb9
..
f72b95f
100644
(file)
--- a/
datapath/vport-vxlan.c
+++ b/
datapath/vport-vxlan.c
@@
-267,6
+267,7
@@
static int vxlan_tunnel_setup(struct net *net, struct nlattr *options,
if (vxlan_port) {
vxlan_port->count++;
err = 0;
+ *vxport = vxlan_port;
goto out;
}