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>
This commit is contained in:

committed by
David S. Miller

parent
bc67a0daf8
commit
54c4cad97b
@@ -80,12 +80,6 @@ struct mfc_cache {
|
||||
};
|
||||
};
|
||||
|
||||
struct mfc_entry_notifier_info {
|
||||
struct fib_notifier_info info;
|
||||
struct mfc_cache *mfc;
|
||||
u32 tb_id;
|
||||
};
|
||||
|
||||
struct rtmsg;
|
||||
int ipmr_get_route(struct net *net, struct sk_buff *skb,
|
||||
__be32 saddr, __be32 daddr,
|
||||
|
Reference in New Issue
Block a user