diff options
author | Gao feng <gaofeng@cn.fujitsu.com> | 2013-12-10 16:37:33 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-11 14:21:26 -0500 |
commit | 95ab09917a8187a02b518e22587c7f035edc7465 (patch) | |
tree | 845699b37059f7f8122b2545e9cc4f83f62f4488 /fs | |
parent | 79d4a94fab0a9cc1b55db45a98277a68ff1febd8 (diff) | |
download | blackbird-op-linux-95ab09917a8187a02b518e22587c7f035edc7465.tar.gz blackbird-op-linux-95ab09917a8187a02b518e22587c7f035edc7465.zip |
vxlan: leave multicast group when vxlan device down
vxlan_group_used only allows device to leave multicast group
when the remote_ip of this vxlan device is difference from
other vxlan devices' remote_ip. this will cause device not
leave multicast group untile the vn_sock of this vxlan deivce
being released.
The check in vxlan_group_used is not quite precise. since even
the remote_ip is same, but these vxlan devices may use different
lower devices, and they may use different vn_socks.
Only when some vxlan devices use the same vn_sock,same lower
device and same remote_ip, the mc_list of the vn_sock should
not be changed.
Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions