CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2021/09/14 03:15:55
Modified files: sys/net : bfd.c rtsock.c Log message: Add missing kernel lock for Bi-directional Forwarding Detection data. Also bfdset() calls pool_get(9) with PR_WAITOK flag so it should be done before we check the existence of this `bfd', otherwise it could be added multiple times. We have BFD disabled in the default kernel so this diff is for consistency mostly. ok mpi@