summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2017-02-01 02:02:01 +0000
committerjsg <jsg@openbsd.org>2017-02-01 02:02:01 +0000
commit9e5c854e4a0a08ec3d29ef5fdd0f1ce05269164f (patch)
treea6189883013c6e5aa15d41f4e93b0984ac63eb0c /lib/libc/stdlib/malloc.c
parentSwitch from splsoftnet to taking the netlock in if_attachhead(). (diff)
downloadwireguard-openbsd-9e5c854e4a0a08ec3d29ef5fdd0f1ce05269164f.tar.xz
wireguard-openbsd-9e5c854e4a0a08ec3d29ef5fdd0f1ce05269164f.zip
Take if_attach_common() out from under netlock as it does a bunch
of sleeping mallocs to initialise a new ifp. The ifp is later added to the global list with the lock held. ok mpi@
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions