bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_link
authorXin Long <lucien.xin@gmail.com>
Tue, 24 Oct 2017 05:54:18 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 01:54:39 +0000 (10:54 +0900)
commit4597efe312567591e253248246ef58d77df471c6
treefabb2592d3ff9a7f5f3709ec5686f8a126fd5819
parentfbb85b3c0112e6aec82863358bdb1b25c7edaec1
bonding: remove rtmsg_ifinfo called in bond_master_upper_dev_link

Since commit 42e52bf9e3ae ("net: add netnotifier event for upper device
change"), netdev_master_upper_dev_link has generated NETDEV_CHANGEUPPER
event which would send a notification to userspace in rtnetlink_event.

There's no need to call rtmsg_ifinfo to send the notification any more.
So this patch is to remove it from bond_master_upper_dev_link as well
as bond_upper_dev_unlink to avoid the redundant notifications.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c