net-sysfs: trigger netlink notification on ifalias change via sysfs
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 14 Nov 2017 07:21:36 +0000 (23:21 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Nov 2017 13:03:21 +0000 (22:03 +0900)
commitc92eb77aff6a11c79059e2caffdd3baede218a9e
tree57b2426e51d995829cd79e07f9fa2740b646ebf3
parent6dc14dc40a1d1dafd8491c349b5f3e15aabc4edb
net-sysfs: trigger netlink notification on ifalias change via sysfs

This patch adds netlink notifications on iflias changes via sysfs.
makes it consistent with the netlink path which also calls
netdev_state_change. Also makes it consistent with other sysfs
netdev_store operations.

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-sysfs.c