From: Vlad Yasevich Date: Tue, 14 Mar 2017 12:58:08 +0000 (-0400) Subject: net: Resend IGMP memberships upon peer notification. X-Git-Tag: v4.14-rc1~1290^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=37c343b4f4e70e9dc328ab04903c0ec8d154c1a4;p=platform%2Fkernel%2Flinux-rpi.git net: Resend IGMP memberships upon peer notification. When we notify peers of potential changes, it's also good to update IGMP memberships. For example, during VM migration, updating IGMP memberships will redirect existing multicast streams to the VM at the new location. Signed-off-by: Vladislav Yasevich Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 8637b2b..7869ae3 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1304,6 +1304,7 @@ void netdev_notify_peers(struct net_device *dev) { rtnl_lock(); call_netdevice_notifiers(NETDEV_NOTIFY_PEERS, dev); + call_netdevice_notifiers(NETDEV_RESEND_IGMP, dev); rtnl_unlock(); } EXPORT_SYMBOL(netdev_notify_peers);