summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2019-05-20 18:16:59 +0000
committercheloha <cheloha@openbsd.org>2019-05-20 18:16:59 +0000
commit08e05d413b115143352d0000e7558d810bd9c2fd (patch)
tree9a03a45124e1eac422c5691079c8b047ba448edd /sys/net
parentdrop fatalx calls when claiming a new vm id; otherwise it's possible (diff)
downloadwireguard-openbsd-08e05d413b115143352d0000e7558d810bd9c2fd.tar.xz
wireguard-openbsd-08e05d413b115143352d0000e7558d810bd9c2fd.zip
kern.timecounter.choices: Don't offer the dummy counter as an option.
The dummy counter is a stopgap during boot. It is not useful after a real timecounter is attached and started and there is no reason to return to using it. So don't even offer it to the admin. This is easy: never add it to the timecounter list. It will effectively cease to exist after the first real timecounter is actived in tc_init(). In principle this means that we can have an empty timecounter list so we need to check for that case in sysctl_tc_choice(). "I don't mind" mpi@, ok visa@
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions