commit | 26f42a07793f7f5fa5dfee3421ded68a5c1284d9 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 14 08:26:38 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 14 08:26:38 2021 +0200 |
tree | 97506f0c38d9a705ac6d1f44cf27f9ae0be569fa | |
parent | cc9d9b0906ba3f8994a3107d95c646d3455598ac [diff] |
BUG/MAJOR: config: properly initialize cpu_map.thread[] up to MAX_THREADS A mistake was introduced in 2.4-dev17 by commit 982fb5339 ("MEDIUM: config: use platform independent type hap_cpuset for cpu-map"), it initializes cpu_map.thread[] from 0 to MAX_PROCS-1 instead of MAX_THREADS-1 resulting in crashes when the two differ, e.g. when building with USE_THREAD= but still with USE_CPU_AFFINITY=1. No backport is needed.