mlxsw: spectrum_router: Sanitize IPv6 FIB rules
authorIdo Schimmel <idosch@mellanox.com>
Thu, 3 Aug 2017 11:28:27 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:36:00 +0000 (15:36 -0700)
commit583419fdf22bd2fc39e49520b29960f206b7ab44
treebbffaecdd306d41f901606312ea3ef09f29d273f
parent66a5763ac180d43f4a16770791669dc1e085cd5d
mlxsw: spectrum_router: Sanitize IPv6 FIB rules

We only allow FIB offload in the presence of default rules or an l3mdev
rule. In a similar fashion to IPv4 FIB rules, sanitize IPv6 rules.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c