diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2025-06-24 22:01:59 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-06-25 16:53:51 -0700 |
commit | f6fa45d67e0546c114063c8b0acff48a0924738d (patch) | |
tree | 93c32eee787018c21180cdbfc3e6fdf523509af3 /fs/btrfs/tree-log.c | |
parent | 3b3ccf9ed05e0650273e7086f4d8f495e4b2c850 (diff) |
net: Reoder rxq_idx check in __net_mp_open_rxq()
array_index_nospec() clamp the rxq_idx within the range of
[0, dev->real_num_rx_queues), move the check before it.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Mina Almasry <almasrymina@google.com>
Link: https://patch.msgid.link/20250624140159.3929503-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'fs/btrfs/tree-log.c')
0 files changed, 0 insertions, 0 deletions