diff options
| author | 2025-11-09 11:37:52 +0200 | |
|---|---|---|
| committer | 2025-11-11 15:05:44 +0100 | |
| commit | 43b27d1bd88a4bce34ec2437d103acfae9655f9e (patch) | |
| tree | 742186b50326309eba422658e0a5ec074f860876 /lib/livepatch/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | net/mlx5e: Fix maxrate wraparound in threshold between units (diff) | |
| download | wireguard-linux-43b27d1bd88a4bce34ec2437d103acfae9655f9e.tar.xz wireguard-linux-43b27d1bd88a4bce34ec2437d103acfae9655f9e.zip | |
net/mlx5e: Fix wraparound in rate limiting for values above 255 Gbps
Add validation to reject rates exceeding 255 Gbps that would overflow
the 8 bits max bandwidth field.
Fixes: d8880795dabf ("net/mlx5e: Implement DCBNL IEEE max rate")
Signed-off-by: Gal Pressman <gal@nvidia.com>
Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1762681073-1084058-5-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'lib/livepatch/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
