CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2025/05/09 13:53:41
Modified files: sys/net : pfkeyv2.c sys/netinet : ip_ipsp.h ipsec_input.c Log message: Move ipsec-enc-alg, ipsec-auth-alg and ipsec-comp-alg sysctl variables out of netlock. Use integers instead of strings for in-kernel representation. So we can update them atomically. Also we remove strcmp() from the hot (?) path. Note, behavior was changed for a little. Against previous it denies to set incorrect values. In such case the EINVAL error will be returned to userland. ok bluhm