From: Gao feng Date: Tue, 10 Dec 2013 08:37:33 +0000 (+0800) Subject: vxlan: leave multicast group when vxlan device down X-Git-Tag: v3.14-rc1~94^2~514 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95ab09917a8187a02b518e22587c7f035edc7465;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed