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

The fib-notifiers are tightly coupled with the vif_device which is
already common. Move the notifier struct definition and helpers to the
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>
include/linux/mroute.h
include/linux/mroute_base.h
net/ipv4/ipmr.c