summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2022-05-09Revert "Replace selwakeup() with KNOTE() in pipe and socket event activation."Visa Hankala
2022-05-06Replace selwakeup() with KNOTE() in pipe and socket event activation.Visa Hankala
2022-02-25Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.comPhilip Guenther
2022-02-25Move pr_attach and pr_detach to a new structure pr_usrreqs that canPhilip Guenther
2022-02-21expliclitly -> explicitlyJonathan Gray
2022-02-14update sbchecklowmem() to better detect actual mbuf memory usage.David Gwynne
2021-11-06Allocate socket and initialize so_lock in one placeVisa Hankala
2021-10-27Replace 'DIAGNOSTIC' block within soqinsque() by KASSERT(9).Vitaliy Makkoveev
2021-10-24Set klist lock for sockets to make socket event filters MP-safeVisa Hankala
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