summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)AuthorFilesLines
2020-04-11Add soassertlocked() checks to sbappend() and sbappendaddr(). This bringsclaudio1-1/+4
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().mpi1-3/+1
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).mpi1-8/+9
2019-04-16Use the actual cluster size instead of fixed MCLBYTES for theyasuoka1-2/+3
2019-02-15let sbcreatecontrol take a const void * instead of a caddr_t.dlg1-4/+4
2018-11-19Utilize sigio with sockets.visa1-5/+6
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forclaudio1-3/+3
2018-10-29Now that most archs have better NMBCLUSTERS defaults it is possible to bringclaudio1-3/+2
2018-07-10After removing raw_usrreq() from route and pfkey, the global sockaddrbluhm1-2/+2
2018-06-11Do not unlock the KERNEL_LOCK() unconditionally in sounlock().mpi1-7/+8
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketmpi1-10/+23
2018-05-07Grab the KERNEL_LOCK() for unix/routing/pfkey sockets in solock()...mpi1-2/+7
2018-04-08AF_LOCAL was a failed attempt (by POSIX?) to seem less UNIX-specific, butguenther1-4/+4
2018-02-18Revert previous. It triggers mbuf pool exhaustion on arm64.kettenis1-2/+3
2018-02-10mbufs and mbuf clusters are now backed by large pools. Because of thisclaudio1-3/+2
2017-12-30Delete unnecessary <sys/file.h> includesguenther1-2/+1
2017-12-10Move SB_SPLICE, SB_WAIT and SB_SEL to `sb_flags', serialized by solock().mpi1-10/+11
2017-11-23We want `sb_flags' to be protected by the socket lock rather than thempi1-4/+3
2017-08-11Remove NET_LOCK()'s argument.mpi1-4/+4
2017-07-27Assert that the KERNEL_LOCK() is held prior to call csignal() andmpi1-1/+2
2017-07-18soreserve() modifies `so_snd' and `so_rcv' so asserts that it is calledmpi1-1/+2
2017-07-04Always hold the socket lock when calling sblock().mpi1-18/+4
2017-07-04Assert that the socket lock is held when `so_state' is modified.mpi1-6/+7
2017-07-04Assert that the socket lock is held when `so_qlen' is modified.mpi1-3/+5
2017-06-27Add missing solock()/sounlock() dances around sbreserve().mpi1-1/+6
2017-06-26Assert that the corresponding socket is locked when manipulating socketmpi1-21/+31
2017-06-07Assert that the KERNEL_LOCK() is held when messing with routing,mpi1-4/+12
2017-05-27Push the NET_LOCK down into PF_KEY so that it can be treated like PF_ROUTE.claudio1-4/+7
2017-05-15Enable the NET_LOCK(), take 3.mpi1-2/+6
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.mpi1-6/+2
2017-03-13Move PRU_ATTACH out of the pr_usrreq functions into pr_attach.claudio1-3/+2
2017-03-07Do not grab the NET_LOCK() for routing sockets operations.mpi1-5/+8
2017-02-14Wrap the NET_LOCK() into a per-socket solock() that does nothing formpi1-6/+43
2017-01-25Enable the NET_LOCK(), take 2.mpi1-2/+2
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundmpi1-2/+2
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsmpi1-9/+22
2016-11-15Bring back the SB_LOCK and SB_WANT flags to lock the socket buffersbluhm1-18/+28
2016-10-09sowakeup() is only called from sorwakeup() and sowwakeup(). Bothbluhm1-3/+2
2016-10-06Remove redundant comments that say a function must be called atbluhm1-3/+1
2016-09-02After allocating a single 64 KB mbuf cluster in sosend(), the sendingbluhm1-2/+3
2016-06-28introduce rwlock for socketbuf instead of the old flag and tsleep dance.tedu1-13/+20
2015-10-06Make sure that all padding bytes in cmsgs are actually zero by memsetclaudio1-1/+2
2015-07-08MFREE(9) is dead, long live m_freem(9)!mpi1-4/+4
2015-06-30Get rid of the undocumented & temporary* m_copy() macro added formpi1-2/+2
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-2/+1
2014-12-11convert bcopy to memcpy/memmove. ok krwtedu1-4/+4
2014-09-14remove uneeded proc.h includesjsg1-2/+1
2014-09-09Delete the SS_ISCONFIRMING flag that supported delayed connectionguenther1-3/+3
2013-04-05remove some obsolete caststedu1-7/+7
2013-01-15Changing the socket buffer flags sb_flags was not interrupt safebluhm1-5/+9