diff options
| author | Yue Haibing <[email protected]> | 2025-06-24 14:01:59 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-06-25 23:53:51 +0000 |
| commit | f6fa45d67e0546c114063c8b0acff48a0924738d (patch) | |
| tree | 93c32eee787018c21180cdbfc3e6fdf523509af3 /net/unix/af_unix.c | |
| parent | net: Remove unnecessary NULL check for lwtunnel_fill_encap() (diff) | |
| download | kernel-f6fa45d67e0546c114063c8b0acff48a0924738d.tar.gz kernel-f6fa45d67e0546c114063c8b0acff48a0924738d.zip | |
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 <[email protected]>
Reviewed-by: Mina Almasry <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
