CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/08/22 03:13:36
Modified files:
sys/kern : uipc_socket.c uipc_syscalls.c
sys/sys : socketvar.h
Log message:
Make sogetopt(9) caller responsible for allocating an MT_SOOPTS mbuf.
Move a blocking memory allocation out of the socket lock and create
a simpler alloc/free pattern to review. Now both m_get() and m_free()
are in the same place.
Discussed with bluhm@.
Encouragements from deraadt@ and tedu@, ok kettenis@, florian@, visa@
