diff options
author | Mateusz Guzik <[email protected]> | 2020-10-14 17:57:03 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-14 08:57:03 -0700 |
commit | 47a7e999398c98e65d0f5aefb6de947a106144fb (patch) | |
tree | aa2efd8e87cf6010c54287ac40fc70cc87f52a89 /configure.ac | |
parent | 485b50bb9e6772240af32fba434ddb8ebfa8cede (diff) |
FreeBSD: fix panic due to tqid overflow
The 32-bit counter eventually wraps to 0 which is a sentinel for invalid
id.
Make it 64-bit on LP64 platforms and 0-check otherwise.
Note: Linux counterpart uses id stored per queue instead of a global.
I did not check going that way is feasible with the goal being the
minimal fix doing the job.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: Ryan Moeller <[email protected]>
Signed-off-by: Mateusz Guzik <[email protected]>
Closes #11059
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions