aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJason Xing <[email protected]>2024-05-30 11:27:17 +0800
committerJakub Kicinski <[email protected]>2024-06-01 16:02:08 -0700
commit8105378c0c02309221b63d15cfe8fe92e7fe1434 (patch)
treeec62c92dd244d3a19b292fcb231301d5ad711916 /tools/perf/scripts/python
parent166fcf86cd34e15c7f383eda4642d7a212393008 (diff)
net: rps: fix error when CONFIG_RFS_ACCEL is off
John Sperbeck reported that if we turn off CONFIG_RFS_ACCEL, the 'head' is not defined, which will trigger compile error. So I move the 'head' out of the CONFIG_RFS_ACCEL scope. Fixes: 84b6823cd96b ("net: rps: protect last_qtail with rps_input_queue_tail_save() helper") Reported-by: John Sperbeck <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Jason Xing <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions