HomeFreeBSD

Allow kern.ipc.maxsockets to be set to current value without error

Description

Allow kern.ipc.maxsockets to be set to current value without error

Normally setting kern.ipc.maxsockets returns EINVAL if the new value
is not greater than the previous value. This can cause spurious
error messages when sysctl.conf is processed multiple times, or when
automation systems try to ensure the sysctl is set to the correct
value. If the value is unchanged, then just do nothing.

PR: 243532
Reviewed by: markj
MFC after: 3 days
Sponsored by: Modirum MDPay
Sponsored by: Klara Inc.
Differential Revision: https://reviews.freebsd.org/D32775

Details

Provenance
allanjudeAuthored on Nov 4 2021, 12:55 PM
Reviewer
markj
Differential Revision
D32775: Allow kern.ipc.maxsockets to be set to current value without error
Parents
rG9c0287e0920a: release: Remove unused variables in azure Makefile
Branches
Unknown
Tags
Unknown