summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2023-12-18Run bind(2) system call in parallel.Alexander Bluhm
2023-10-30Do not truncate MSG_EOR in recvmsg().Alexander Bluhm
2023-07-04Introduce SBL_WAIT and SBL_NOINTR sbwait() flags.Vitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2023-02-02Move the rest of common socket initialization within soalloc().Vitaliy Makkoveev
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce per-sockbuf `sb_state' to use it with SS_CANTSENDMORE.Vitaliy Makkoveev
2022-12-12Revert sb_state changes to unbreak tree.Theo Buehler
2022-12-11This time, socket's buffer lock requires solock() to be held. As a part ofVitaliy Makkoveev
2022-10-03System calls should not fail due to temporary memory shortage inAlexander Bluhm
2022-09-05Use shared netlock in soreceive(). The UDP and IP divert layerAlexander Bluhm
2022-08-13Introduce the pru_*() wrappers for corresponding (*pr_usrreq)() calls.Vitaliy Makkoveev
2022-07-25Replace selwakeup() with KNOTE() in socket event activationVisa Hankala
2022-07-01Make fine grained unix(4) domain sockets locking. Use the per-socketVitaliy Makkoveev
2022-06-26Remove unused VOP_POLL().Visa Hankala
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
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