diff options
| author | Vlad Buslov <[email protected]> | 2022-11-03 06:55:37 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2022-11-09 18:30:42 +0000 |
| commit | 15f8f168952f54d3c86d734dc764f20844e423ac (patch) | |
| tree | 6e9839b56e541caf969fa3fa37b549d04b67ab43 /fs/ext4/fast_commit.c | |
| parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf (diff) | |
| download | kernel-15f8f168952f54d3c86d734dc764f20844e423ac.tar.gz kernel-15f8f168952f54d3c86d734dc764f20844e423ac.zip | |
net/mlx5: Bridge, verify LAG state when adding bond to bridge
Mlx5 LAG is initialized asynchronously on a workqueue which means that for
a brief moment after setting mlx5 UL representors as lower devices of a
bond netdevice the LAG itself is not fully initialized in the driver. When
adding such bond device to a bridge mlx5 bridge code will not consider it
as offload-capable, skip creating necessary bookkeeping and fail any
further bridge offload-related commands with it (setting VLANs, offloading
FDBs, etc.). In order to make the error explicit during bridge
initialization stage implement the code that detects such condition during
NETDEV_PRECHANGEUPPER event and returns an error.
Fixes: ff9b7521468b ("net/mlx5: Bridge, support LAG")
Signed-off-by: Vlad Buslov <[email protected]>
Reviewed-by: Roi Dayan <[email protected]>
Reviewed-by: Mark Bloch <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
