ip6mr: Add API for default_rule fib
authorYuval Mintz <yuvalm@mellanox.com>
Mon, 26 Mar 2018 12:01:35 +0000 (15:01 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:14:43 +0000 (13:14 -0400)
commitd3c07e5b9939a055fa017f200e535ae947eb22ab
tree5b724c9f394cc481ca6ec60fd29b1abae8aaa6f2
parent088aa3eec2ce340b5d0f0f54430f5706223d5e45
ip6mr: Add API for default_rule fib

Add the ability to discern whether a given FIB rule notification relates
to the default rule inserted when registering ip6mr or a different one.

Would later be used by drivers wishing to offload ipv6 multicast routes
but unable to offload rules other than the default one.

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/mroute6.h
net/ipv6/ip6mr.c