diff options
author | Vlad Yasevich <vyasevich@gmail.com> | 2017-03-14 08:58:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:01:30 +0100 |
commit | 8111e1b213c4d3ff584668a873004791b4151255 (patch) | |
tree | 9dca7a54ddb2322fdc4a1d716f4499a6f3a1e8aa /net | |
parent | 1f08ebd8815e18e47c028cf8652ddea2cf6a88d7 (diff) | |
download | linux-stable-8111e1b213c4d3ff584668a873004791b4151255.tar.gz linux-stable-8111e1b213c4d3ff584668a873004791b4151255.tar.bz2 linux-stable-8111e1b213c4d3ff584668a873004791b4151255.zip |
net: Resend IGMP memberships upon peer notification.
[ Upstream commit 37c343b4f4e70e9dc328ab04903c0ec8d154c1a4 ]
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 <vyasevic@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/core/dev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 93e36e9102e9..cae21f769212 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -1248,6 +1248,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); |