diff options
author | Roi Dayan <roid@nvidia.com> | 2021-05-03 18:01:02 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-05-18 23:01:34 -0700 |
commit | 83026d83186bc48bb41ee4872f339b83f31dfc55 (patch) | |
tree | 5c3a522040e896bc843032a05927b405ec8a2823 /drivers/mfd/da9063-core.c | |
parent | fe7738eb3ca3631a75844e790f6cb576c0fe7b00 (diff) |
net/mlx5e: Fix null deref accessing lag dev
It could be the lag dev is null so stop processing the event.
In bond_enslave() the active/backup slave being set before setting the
upper dev so first event is without an upper dev.
After setting the upper dev with bond_master_upper_dev_link() there is
a second event and in that event we have an upper dev.
Fixes: 7e51891a237f ("net/mlx5e: Use netdev events to set/del egress acl forward-to-vport rule")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/mfd/da9063-core.c')
0 files changed, 0 insertions, 0 deletions