ipmr: Make MFC fib notifiers common
authorYuval Mintz <yuvalm@mellanox.com>
Mon, 26 Mar 2018 12:01:32 +0000 (15:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:14:42 +0000 (13:14 -0400)
commit54c4cad97b8fd414909b78d4274a6797baa52b3b
treefc3ddfbf44faa93392047ac1ad1eaf458cb7524d
parentbc67a0daf8f3bc6fa8fcb68090f3c444de7f951c
ipmr: Make MFC fib notifiers common

Like vif notifications, move the notifier struct for MFC as well as its
helpers into a common file; Currently they're only used by ipmr.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c
include/linux/mroute.h
include/linux/mroute_base.h
net/ipv4/ipmr.c