summaryrefslogtreecommitdiffstats
path: root/regress/sys/netinet/pmtu/tcp_atomicfrag6.py
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2020-12-25 12:59:51 +0000
committervisa <visa@openbsd.org>2020-12-25 12:59:51 +0000
commit9b0cf67b268a857fffa6a742ad6be57acdc35301 (patch)
treecdb461f14f3d46558aedb56eba5cc939b03dad6f /regress/sys/netinet/pmtu/tcp_atomicfrag6.py
parentSmall smr_grace_wait() optimization (diff)
downloadwireguard-openbsd-9b0cf67b268a857fffa6a742ad6be57acdc35301.tar.xz
wireguard-openbsd-9b0cf67b268a857fffa6a742ad6be57acdc35301.zip
Refactor klist insertion and removal
Rename klist_{insert,remove}() to klist_{insert,remove}_locked(). These functions assume that the caller has locked the klist. The current state of locking remains intact because the kernel lock is still used with all klists. Add new functions klist_insert() and klist_remove() that lock the klist internally. This allows some code simplification. OK mpi@
Diffstat (limited to 'regress/sys/netinet/pmtu/tcp_atomicfrag6.py')
0 files changed, 0 insertions, 0 deletions