]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Do not assume notifier information type
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:53 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commitda438ae9a6b513057dbd6865cdd4bdd943c48f1b
tree5cc802e37a84c2e57f92ccd08ece3c555b355231
parent27b5766cd25d108d7585aa2bc40ea8f7b94c2372
mlxsw: spectrum_switchdev: Do not assume notifier information type

VxLAN notifications are going to use a different notifier information
type, so cast to the correct type based on the received event.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c