]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bonding: remove rtmsg_ifinfo called after bond_lower_state_changed
authorXin Long <lucien.xin@gmail.com>
Tue, 24 Oct 2017 05:54:20 +0000 (13:54 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 01:54:39 +0000 (10:54 +0900)
commitef5201c83d1400570a3b6f004ad7a23d71934411
treeacb2bda2500e8c867695fe8fe2e6a168d50287f6
parenteeda3fb9e132bd5f9592c4c664ba944cf1ac5b9f
bonding: remove rtmsg_ifinfo called after bond_lower_state_changed

After the patch 'rtnetlink: bring NETDEV_CHANGELOWERSTATE event
process back to rtnetlink_event', bond_lower_state_changed would
generate 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 these places after
bond_lower_state_changed.

Besides, after this, rtmsg_ifinfo is not needed to be exported.

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