mlxsw: spectrum_router: Ignore address families other than IPv4
authorIdo Schimmel <idosch@mellanox.com>
Thu, 3 Aug 2017 11:28:12 +0000 (13:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Aug 2017 22:35:59 +0000 (15:35 -0700)
commit64e5e8252d69c68ae76258328ac7e5d2e5e923b0
treec8b3ce000fbd4cfcb1307199b2bd034ffc39650f
parent04b1d4e50e82536c12da00ee04a77510c459c844
mlxsw: spectrum_router: Ignore address families other than IPv4

We're about to add IPv6 notifications in the FIB notification chain, but
the driver currently doesn't support these, so ignore them.

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