diff options
author | Chris Mi <cmi@nvidia.com> | 2022-11-29 12:30:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-29 19:19:59 +0300 |
commit | 0e682f04b4b59eac0b0a030251513589c4607458 (patch) | |
tree | 8646bcc0aa9a171c09a75f996b82f6ec29e61122 /net/packet | |
parent | dda3bbbb26c823cd54d5bf211df7db12147c9392 (diff) | |
download | linux-0e682f04b4b59eac0b0a030251513589c4607458.tar.xz |
net/mlx5: Lag, Fix for loop when checking lag
The cited commit adds a for loop to check if each port supports lag
or not. But dev is not initialized correctly. Fix it by initializing
dev for each iteration.
Fixes: e87c6a832f88 ("net/mlx5: E-switch, Fix duplicate lag creation")
Signed-off-by: Chris Mi <cmi@nvidia.com>
Reported-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Link: https://lore.kernel.org/r/20221129093006.378840-2-saeed@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions