summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2019-04-16Use the actual cluster size instead of fixed MCLBYTES for theYASUOKA Masahiko
2019-02-15let sbcreatecontrol take a const void * instead of a caddr_t.David Gwynne
2018-11-19Utilize sigio with sockets.Visa Hankala
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-10-29Now that most archs have better NMBCLUSTERS defaults it is possible to bringClaudio Jeker
2018-07-10After removing raw_usrreq() from route and pfkey, the global sockaddrAlexander Bluhm
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().Martin Pieuchot
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
2018-05-07Grab the KERNEL_LOCK() for unix/routing/pfkey sockets in solock()...Martin Pieuchot
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butPhilip Guenther
2018-02-18Revert previous. It triggers mbuf pool exhaustion on arm64.Mark Kettenis
2018-02-10mbufs and mbuf clusters are now backed by large pools. Because of thisClaudio Jeker
2017-12-30Delete unnecessary <sys/file.h> includesPhilip Guenther
2017-12-10Move SB_SPLICE, SB_WAIT and SB_SEL to `sb_flags', serialized by solock().Martin Pieuchot
2017-11-23We want `sb_flags' to be protected by the socket lock rather than theMartin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andMartin Pieuchot
2017-07-18soreserve() modifies `so_snd' and `so_rcv' so asserts that it is calledMartin Pieuchot
2017-07-04Always hold the socket lock when calling sblock().Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_state' is modified.Martin Pieuchot
2017-07-04Assert that the socket lock is held when `so_qlen' is modified.Martin Pieuchot
2017-06-27Add missing solock()/sounlock() dances around sbreserve().Martin Pieuchot
2017-06-26Assert that the corresponding socket is locked when manipulating socketMartin Pieuchot
2017-06-07Assert that the KERNEL_LOCK() is held when messing with routing,Martin Pieuchot
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.Claudio Jeker
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.Claudio Jeker
2017-03-07Do not grab the NET_LOCK() for routing sockets operations.Martin Pieuchot
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing forMartin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-11-15Bring back the SB_LOCK and SB_WANT flags to lock the socket buffersAlexander Bluhm
2016-10-09sowakeup() is only called from sorwakeup() and sowwakeup(). BothAlexander Bluhm
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-09-02After allocating a single 64 KB mbuf cluster in sosend(), the sendingAlexander Bluhm
2016-06-28introduce rwlock for socketbuf instead of the old flag and tsleep dance.Ted Unangst
2015-10-06Make sure that all padding bytes in cmsgs are actually zero by memsetClaudio Jeker
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added forMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-11convert bcopy to memcpy/memmove. ok krwTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-09Delete the SS_ISCONFIRMING flag that supported delayed connectionPhilip Guenther
2013-04-05remove some obsolete castsTed Unangst
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safeAlexander Bluhm
2012-12-31Extend the sbcheck() function to make it work with socket buffersAlexander Bluhm
2012-04-13unneccessary casts to unsigned; ok claudioTheo de Raadt
2011-04-04Correctly inherit and set the watermarks on socketbuffers.Claudio Jeker