summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_usrreq.c
AgeCommit message (Expand)Author
2021-10-14Release solock() before call unp_externalize().Vitaliy Makkoveev
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm
2021-05-18Move potential sleeping m_getclr(9) out of `unp_lock' within unp_bind().mvs
2021-05-17Increase the default buffer space using on PF_UNIX sockets to 8k.Claudio Jeker
2021-04-29Remove netlock assertions from UNIX sockets layer.mvs
2021-02-22Move UNIX socket's garbage collector to `systqmp'. It touches nothingmvs
2021-02-10Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9)mvs
2019-07-16Fix uipc white spaces.Alexander Bluhm
2019-07-15Convert struct unpcb malloc(9) to pool_get(9).Alexander Bluhm
2019-05-24Prevent a kernel hang if an empty message is sent over an SOCK_SEQPACKETAlexander Bluhm
2019-02-13Allow SO_PEERCRED to be called on sockets created with socketpair.Martijn van Duren
2019-02-04Avoid an mbuf double free in the oob soreceive() path. In theAlexander Bluhm
2018-11-21In unp_internalize() check the length more carefully preventing anClaudio Jeker
2018-11-21When using MSG_PEEK to peak into packets skip control messages holdingClaudio Jeker
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-07-09Use function name in panic string, like in some other places.Claudio Jeker
2018-07-02Update the file reference count field `f_count' using atomic operationsVisa Hankala
2018-07-01Lock the file descriptor table when accessing the `fd_ofileflags' array.Visa Hankala
2018-06-23Improve the consistency of variable naming in unp_externalize().Visa Hankala
2018-06-20Unlock sendmsg(2) and sendto(2).Martin Pieuchot
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-07Make callers of VOP_CREATE(9) and VOP_MKNOD(9) responsible forVisa Hankala
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-04-28Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is alwaysVisa Hankala
2018-04-27Move FREF() inside fd_getfile().Martin Pieuchot
2018-04-18Call FREF(9) earlier instead of incrementing `f_count' by hand.Martin Pieuchot
2018-01-04Unifdef snd/rcv.Martin Pieuchot
2017-12-19Remove a 27 year old #ifdef notdef chunk involving SB_LOCK.Martin Pieuchot
2017-12-19Inline socket buffer related defines, no functional change.Martin Pieuchot
2017-11-02Move PRU_DETACH out of pr_usrreq into per proto pr_detachFlorian Obser
2017-08-11Validate sockaddr from userland in central functions. This resultsAlexander Bluhm
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing forMartin Pieuchot
2017-02-09Temporarily grab the NET_LOCK() around soisdisconnected().Martin Pieuchot
2017-02-09Release the NET_LOCK() before calling unp_detach(), fix a recursionMartin Pieuchot
2017-01-27In sosend() the size of the control message for file descriptorAlexander Bluhm
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-24Track a per-fd flag UF_PLEDGED. This indicates the initial open was done by aTheo de Raadt
2017-01-23File descriptor passing internalizes fd's into an mbuf-stored array ofTheo de Raadt
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-29Release the NET_LOCK() before calling unp_connect(). It is not possibleMartin Pieuchot
2016-12-22Release the NET_LOCK() before namei(9) as a workaround to let NFS bootMartin Pieuchot
2016-12-22Revert workaround for NFS boot, it triggers the following assert:Martin Pieuchot
2016-12-22Work around a NET_LOCK() recursion seen during NFS netboot:Visa Hankala
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-29m_free() and m_freem() test for NULL. Simplify callers which had their ownJonathan Gray
2016-08-26The *_HEAD_INITIALIZER() macros are documented as taking the struct,Philip Guenther
2016-08-17Fix an mbuf leak and missing error propagation in uipc_usrreq(PRU_SEND)Alexander Bluhm
2016-07-19instead of messing about with pointer arithmetic, add an empty arrayTed Unangst