OSDN Git Service

mlx5: Add missing init_net check in FIB notifier
authorJiri Pirko <jiri@mellanox.com>
Fri, 30 Aug 2019 08:25:30 +0000 (10:25 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Sep 2019 18:44:14 +0000 (11:44 -0700)
commita21cf11bc57fca136f98e81ebc6a6eaf52952b8f
treec06303c9734dfe29d3ac4a0685638846c2081e54
parent765b7590c92d849806e9a27ab3a5a17cfc6a47a9
mlx5: Add missing init_net check in FIB notifier

Take only FIB events that are happening in init_net into account. No other
namespaces are supported.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c