summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2021-07-26Pass a socket pointer to various socket buffer routines in preparation forMartin Pieuchot
2021-07-25Kill unused sbinsertoob().Martin Pieuchot
2021-06-07Kill SS_ASYNC and only check SB_ASYNC when async signals are wanted.Martin Pieuchot
2021-05-26Use `so_lock' to protect key management (PF_KEY) sockets. This can bemvs
2021-05-01Implement per-socket `so_lock' rwlock(9) and use it to protect routingmvs
2021-04-26Revert per-socket `so_lock' rwlock(9) and use it to protect routingClaudio Jeker
2021-04-25Implement per-socket `so_lock' rwlock(9) and use it to protect routingmvs
2021-02-11sbdrop(): use NULL instead of 0 in pointer assignmentmvs
2021-02-10Move UNIX domain sockets out of kernel lock. The new `unp_lock' rwlock(9)mvs
2020-04-11Add soassertlocked() checks to sbappend() and sbappendaddr(). This bringsClaudio Jeker
2020-02-14Push the KERNEL_LOCK() insidge pgsigio() and selwakeup().Martin Pieuchot
2020-01-15Keep socket timeout intervals in nsecs and use them with tsleep_nsec(9).Martin Pieuchot
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