summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bgpd/timer.c
diff options
context:
space:
mode:
authorcheloha <cheloha@openbsd.org>2020-12-11 05:00:21 +0000
committercheloha <cheloha@openbsd.org>2020-12-11 05:00:21 +0000
commit54b3831179727349c9c86519a934aad56a12cb3d (patch)
treecf88686f1e5edaf89908f6140d8654089dc4e85b /usr.sbin/bgpd/timer.c
parentipmi(4): tsleep(9) -> tsleep_nsec(9) (diff)
downloadwireguard-openbsd-54b3831179727349c9c86519a934aad56a12cb3d.tar.xz
wireguard-openbsd-54b3831179727349c9c86519a934aad56a12cb3d.zip
bpf(4): BIOCGRTIMEOUT, BIOCSRTIMEOUT: protect bd_rtout with bd_mtx
Reading and writing bd_rtout is not an atomic operation, so it needs to be done under the per-descriptor mutex. While here, start annotating locking in bpfdesc.h. There's lots more to do on this front, but you have to start somewhere. Tweaked by mpi@. ok mpi@
Diffstat (limited to 'usr.sbin/bgpd/timer.c')
0 files changed, 0 insertions, 0 deletions