diff options
author | 2017-02-01 02:02:01 +0000 | |
---|---|---|
committer | 2017-02-01 02:02:01 +0000 | |
commit | 9e5c854e4a0a08ec3d29ef5fdd0f1ce05269164f (patch) | |
tree | a6189883013c6e5aa15d41f4e93b0984ac63eb0c /lib/libc/stdlib/malloc.c | |
parent | Switch from splsoftnet to taking the netlock in if_attachhead(). (diff) | |
download | wireguard-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