summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/vxlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/vxlan.c')
-rw-r--r--kernel/drivers/net/vxlan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/drivers/net/vxlan.c b/kernel/drivers/net/vxlan.c
index 21a0fbf1e..0085b8df8 100644
--- a/kernel/drivers/net/vxlan.c
+++ b/kernel/drivers/net/vxlan.c
@@ -2212,6 +2212,8 @@ static int vxlan_open(struct net_device *dev)
if (vxlan_addr_multicast(&vxlan->default_dst.remote_ip)) {
ret = vxlan_igmp_join(vxlan);
+ if (ret == -EADDRINUSE)
+ ret = 0;
if (ret) {
vxlan_sock_release(vs);
return ret;