summaryrefslogtreecommitdiffstats
path: root/net/compat.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-03-13 16:21:34 -0400
committerDavid S. Miller <davem@davemloft.net>2016-03-14 16:05:32 -0400
commit6debb68a2d1acd1f5eca1d9d1c79a54dc998b6d6 (patch)
treed5cd4d18aca824a81c59800c3b29edbca623a488 /net/compat.c
parent16bfa7024eba5e36aff38ba62086b9027373007d (diff)
downloadop-kernel-dev-6debb68a2d1acd1f5eca1d9d1c79a54dc998b6d6.zip
op-kernel-dev-6debb68a2d1acd1f5eca1d9d1c79a54dc998b6d6.tar.gz
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 'net/compat.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud