diff options
author | Jiri Pirko <jiri@mellanox.com> | 2015-12-03 12:12:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-03 11:49:26 -0500 |
commit | 04d482660a07039fc4e9a42bb3517db236d98f96 (patch) | |
tree | 416983aba87723dd09de034c5a13c74a092dd1a8 /net/tipc/ib_media.c | |
parent | 41f0b0496466d6e0e8245f94a79889234cde5e3c (diff) | |
download | kernel_replicant_linux-04d482660a07039fc4e9a42bb3517db236d98f96.tar.gz kernel_replicant_linux-04d482660a07039fc4e9a42bb3517db236d98f96.tar.bz2 kernel_replicant_linux-04d482660a07039fc4e9a42bb3517db236d98f96.zip |
net: introduce change lower state notifier
When lower device like bonding slave, team/bridge port, etc changes its
state, it is useful for others to notice this change. Currently this is
implemented specificly for bonding as NETDEV_BONDING_INFO notifier. This
patch aims to replace this specific usage and make this more generic to
be used for all upper-lower devices.
Introduce NETDEV_CHANGELOWERSTATE netdev notifier type and
netdev_lower_state_changed() helper.
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/ib_media.c')
0 files changed, 0 insertions, 0 deletions