summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket2.c
AgeCommit message (Expand)Author
2024-11-06Use atomic load and store operations for sbchecklowmem().Alexander Bluhm
2024-07-12Remove internet PCB mutex.Alexander Bluhm
2024-07-12Switch `so_snd' of udp(4) sockets to the new locking scheme.Vitaliy Makkoveev
2024-06-28Restore original EPIPE and ENOTCONN errors priority in the uipc_send()Vitaliy Makkoveev
2024-05-17Turn sblock() to `sb_lock' rwlock(9) wrapper for all sockets.Vitaliy Makkoveev
2024-05-07rw_enter() with RW_NOSLEEP returns EBUSY and not the expected EWOULDBLOCKClaudio Jeker
2024-05-03Push solock() down to sosend() and remove it from soreceive() paths froVitaliy Makkoveev
2024-05-02Quick fix previous one. socantrcvmore() should raise assertion ifVitaliy Makkoveev
2024-04-30Push solock() down to sosend() for SOCK_RAW sockets.Vitaliy Makkoveev
2024-04-25Rename socket wait channels when sleeping.Alexander Bluhm
2024-04-11Don't take solock() in soreceive() for SOCK_RAW inet sockets.Vitaliy Makkoveev
2024-04-10Remove `head' socket re-locking in sonewconn().Vitaliy Makkoveev
2024-03-31Mark `so_rcv' sockbuf of udp(4) sockets as SB_OWNLOCK.Vitaliy Makkoveev
2024-03-27Introduce SB_OWNLOCK to mark sockets which `so_rcv' buffer modifiedVitaliy Makkoveev
2024-03-26Use `sb_mtx' to protect `so_rcv' receive buffer of unix(4) sockets.Vitaliy Makkoveev
2024-02-12Pass protosw instead of domain structure to soalloc() to get realVitaliy Makkoveev
2024-02-11Use `sb_mtx' instead of `inp_mtx' in receive path for inet sockets.Vitaliy Makkoveev
2024-02-05Use `sb_mtx' mutex(9) to protect `sb_timeo_nsecs'. In most placesVitaliy Makkoveev
2024-02-03Rework socket buffers locking for shared netlock.Vitaliy Makkoveev
2024-01-11Use domain name for socket lock.Alexander Bluhm
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