diff options
author | 2024-05-30 11:27:17 +0800 | |
---|---|---|
committer | 2024-06-01 16:02:08 -0700 | |
commit | 8105378c0c02309221b63d15cfe8fe92e7fe1434 (patch) | |
tree | ec62c92dd244d3a19b292fcb231301d5ad711916 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ax25: Replace kfree() in ax25_dev_free() with ax25_dev_put() (diff) | |
download | linux-rng-8105378c0c02309221b63d15cfe8fe92e7fe1434.tar.xz linux-rng-8105378c0c02309221b63d15cfe8fe92e7fe1434.zip |
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 <jsperbeck@google.com>
Closes: https://lore.kernel.org/all/20240529203421.2432481-1-jsperbeck@google.com/
Signed-off-by: Jason Xing <kernelxing@tencent.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://lore.kernel.org/r/20240530032717.57787-1-kerneljasonxing@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions