diff options
| author | Breno Leitao <leitao@debian.org> | 2025-09-17 02:58:08 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-18 07:07:36 -0700 |
| commit | 3efaede2e13b0c0372500a6acdfc5c31268a3ed4 (patch) | |
| tree | 69591c7c8e4593f959befc533fb2b162b82bade3 /rust/helpers/build_bug.c | |
| parent | 672beab06656f2f1bda4708cda2b9af61c58a7ea (diff) | |
net: ethtool: pass the num of RX rings directly to ethtool_copy_validate_indir
Modify ethtool_copy_validate_indir() and callers to validate indirection
table entries against the number of RX rings as an integer instead of
accessing rx_rings->data.
This will be useful in the future, given that struct ethtool_rxnfc might
not exist for native GRXRINGS call.
Signed-off-by: Breno Leitao <leitao@debian.org>
Link: https://patch.msgid.link/20250917-gxrings-v4-1-dae520e2e1cb@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions
