]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01eac2f4cc6f0960300d1eb37039c4131206e391
tree5b724c9f394cc481ca6ec60fd29b1abae8aaa6f2
parent3d045e7c6b5495eb00d161764fd6b0afddd6f581
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