diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-09-15 15:31:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-16 18:21:43 +0200 |
commit | 8e29f97979c300406c21994986bdfcdb67fe4ff7 (patch) | |
tree | c2a5c36e03f8143dceca8b40d4ff60ed795aeddc /drivers/mfd/stmpe-spi.c | |
parent | Documentation: link in networking docs (diff) | |
download | linux-8e29f97979c300406c21994986bdfcdb67fe4ff7.tar.xz linux-8e29f97979c300406c21994986bdfcdb67fe4ff7.zip |
mlxsw: spectrum_router: Only handle IPv4 and IPv6 events
The driver doesn't support events from address families other than IPv4
and IPv6, so ignore them. Otherwise, we risk queueing a work item before
it's initialized.
This can happen in case a VRF is configured when MROUTE_MULTIPLE_TABLES
is enabled, as the VRF driver will try to add an l3mdev rule for the
IPMR family.
Fixes: 65e65ec137f4 ("mlxsw: spectrum_router: Don't ignore IPv6 notifications")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Andreas Rammhold <andreas@rammhold.de>
Reported-by: Florian Klink <flokli@flokli.de>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/stmpe-spi.c')
0 files changed, 0 insertions, 0 deletions