diff options
| author | Feng Wu <wufengwufengwufeng@gmail.com> | 2026-06-25 08:44:25 +0000 |
|---|---|---|
| committer | Florian Westphal <fw@strlen.de> | 2026-07-03 14:45:21 +0200 |
| commit | 444853cd438201007da5359821adcc2995655ab1 (patch) | |
| tree | ef020a15388730058bc72f8e0dc183acbc8e2812 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 64cdf7d30ac18e43df6c48004435febb965809a8 (diff) | |
netfilter: xt_rateest: fix u64 truncation in xt_rateest_mt()
On links faster than ~34 Gbps, where byte rate may exceed 2^32-1
(~ 4.3 GBps), the comparison result becomes incorrect because the
truncated value no longer reflects the actual estimator rate.
Fix by changing the local variables to u64.
Fixes: 1c0d32fde5bd ("net_sched: gen_estimator: complete rewrite of rate estimators")
Signed-off-by: Feng Wu <wufengwufengwufeng@gmail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
