diff options
| author | Wanpeng Qian <wanpengqian@gmail.com> | 2026-11-25 07:39:17 +0000 |
|---|---|---|
| committer | Kevin Bowling <kbowling@FreeBSD.org> | 2026-11-25 07:40:18 +0000 |
| commit | 36b5db4d072dce1941dff0bec0b08673bceb5c54 (patch) | |
| tree | 7c1176e5183968ab6601a9962c675a1e9e4c6744 /lib/libalias/alias.h | |
| parent | 4dc5ef514432c068229c50d8146730830845df14 (diff) | |
The model exposes 16 receive address register pairs, but both accessors
asserted that the index was below 15. Use E82545_RAR_MAX as the last
valid index for the register ranges and accessors. Size the address
array from the same limit and use its length when clearing valid bits.
Signed-off-by: Wanpeng Qian <wanpengqian@gmail.com>
MFC after: 2 weeks
Sponsored by: keelos.dev
Differential Revision: https://reviews.freebsd.org/D60219
Co-authored-by: Kevin Bowling <kbowling@FreeBSD.org>
Diffstat (limited to 'lib/libalias/alias.h')
0 files changed, 0 insertions, 0 deletions
