Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348026
b: refs/heads/master
c: af9b078
h: refs/heads/master
v: v3
  • Loading branch information
Yan Burman authored and David S. Miller committed Dec 26, 2012
1 parent de54af8 commit a1e8168
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c3ae62af8e755ea68380fb5ce682e60079a4c388
refs/heads/master: af9b078e354614fad1e2e0cef04e216ae37cc389
6 changes: 4 additions & 2 deletions trunk/drivers/net/vxlan.c
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,8 @@ static int vxlan_join_group(struct net_device *dev)
struct vxlan_net *vn = net_generic(dev_net(dev), vxlan_net_id);
struct sock *sk = vn->sock->sk;
struct ip_mreqn mreq = {
.imr_multiaddr.s_addr = vxlan->gaddr,
.imr_multiaddr.s_addr = vxlan->gaddr,
.imr_ifindex = vxlan->link,
};
int err;

Expand All @@ -532,7 +533,8 @@ static int vxlan_leave_group(struct net_device *dev)
int err = 0;
struct sock *sk = vn->sock->sk;
struct ip_mreqn mreq = {
.imr_multiaddr.s_addr = vxlan->gaddr,
.imr_multiaddr.s_addr = vxlan->gaddr,
.imr_ifindex = vxlan->link,
};

/* Only leave group when last vxlan is done. */
Expand Down

0 comments on commit a1e8168

Please sign in to comment.