summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-03-13 23:21:34 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-14 23:05:32 +0300
commit6debb68a2d1acd1f5eca1d9d1c79a54dc998b6d6 (patch)
treed5cd4d18aca824a81c59800c3b29edbca623a488 /scripts
parent16bfa7024eba5e36aff38ba62086b9027373007d (diff)
downloadlinux-6debb68a2d1acd1f5eca1d9d1c79a54dc998b6d6.tar.xz
net: dsa: refine netdev event notifier
Rework the netdev event handler, similar to what the Mellanox Spectrum driver does, to easily welcome more events later (for example NETDEV_PRECHANGEUPPER) and use netdev helpers (such as netif_is_bridge_master). Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions