]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Bridge, fix ageing time
authorVlad Buslov <vladbu@nvidia.com>
Wed, 4 Aug 2021 15:33:26 +0000 (18:33 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 10 Aug 2021 03:56:40 +0000 (20:56 -0700)
commit6d8680da2e98410a25fe49e0a53f28c004be6d6d
treed7aee0a7fabf7553663a2653ef986e0e51011d14
parentc623c95afa56bf4bf64e4f58742dc94616ef83db
net/mlx5: Bridge, fix ageing time

Ageing time is not converted from clock_t to jiffies which results
incorrect ageing timeout calculation in workqueue update task. Fix it by
applying clock_t_to_jiffies() to provided value.

Fixes: c636a0f0f3f0 ("net/mlx5: Bridge, dynamic entry ageing")
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c