summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
2024-08-11spelling; ok mvs@Jonathan Gray
2024-08-06For consistency with other similar sysctl(2) variables useVitaliy Makkoveev
2024-08-01Run socket splice idle timeout without kernel lock.Alexander Bluhm
2024-07-29Remove `sb_sel' from sobuf_print() output, no sense to print "...".Vitaliy Makkoveev
2024-07-20Unlock udp(4) somove().Vitaliy Makkoveev
2024-07-14Fix source and drain confusion in socket splicing somove().Alexander Bluhm
2024-07-12Switch `so_snd' of udp(4) sockets to the new locking scheme.Vitaliy Makkoveev
2024-06-14Switch AF_ROUTE sockets to the new locking scheme.Vitaliy Makkoveev
2024-05-17Turn sblock() to `sb_lock' rwlock(9) wrapper for all sockets.Vitaliy Makkoveev
2024-05-17Switch AF_KEY sockets to the new locking scheme.Vitaliy Makkoveev
2024-05-03Push solock() down to sosend() and remove it from soreceive() paths froVitaliy Makkoveev
2024-05-02Pass `sosp' instead of `so' to sblock() when locking `so_snd' withinVitaliy Makkoveev
2024-04-30Push solock() down to sosend() for SOCK_RAW sockets.Vitaliy Makkoveev
2024-04-15Don't take solock() in soreceive() for udp(4) sockets.Vitaliy Makkoveev
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-04-02Implement SO_ACCEPTCONN in getsockopt(2)Claudio Jeker
2024-04-02Remove wrong "temporary udp error" comment in filt_so{read,write}(). NotVitaliy Makkoveev
2024-03-31Allow listen(2) only on sockets of type SOCK_STREAM or SOCK_SEQPACKET.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-03-22Use sorflush() instead of direct unp_scan(..., unp_discard) to discardVitaliy Makkoveev
2024-02-12Pass protosw instead of domain structure to soalloc() to get realVitaliy Makkoveev
2024-02-11Release `sb_mtx' mutex(9) before sbunlock().Vitaliy 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-26Unlock listen(2). `somaxconn_local' and `sominconn_local' usedVitaliy Makkoveev
2024-01-12Send UDP packets in parallel.Alexander Bluhm
2024-01-11Use domain name for socket lock.Alexander Bluhm
2023-12-19Release inpcb mutex while calling sbwait().Alexander Bluhm
2023-12-19soreceive() must not hold mutex when calling sblock().Alexander Bluhm
2023-12-18Run bind(2) system call in parallel.Alexander Bluhm
2023-08-08Merge SO_BINDANY cases from both switch blocks within sosetopt(). ThisVitaliy Makkoveev
2023-08-08Merge SO_SND* with corresponding SO_RCV* cases within sosetopt(). TheVitaliy Makkoveev
2023-08-03Move solock() down to sosetopt(). A part of standalone sblock() work.Vitaliy Makkoveev
2023-07-22Add `sb_state' output to sobuf_print(). It contains SS_CANTSENDMORE,Vitaliy Makkoveev
2023-07-04Introduce SBL_WAIT and SBL_NOINTR sbwait() flags.Vitaliy Makkoveev
2023-06-30Use "newcon" instead of "netlck" as identifier of the sleep reason whileVitaliy Makkoveev
2023-04-28Add a membar_consumer() for the taskq_create() in sosplice(). MembarAlexander Bluhm
2023-04-24Don't check `so_sp' within sofree(). The following isspliced() andVitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2023-02-02Move the rest of common socket initialization within soalloc().Vitaliy Makkoveev
2023-01-27Push solock() down to sogetopt(). It is not required for the most cases.Vitaliy Makkoveev
2023-01-27Replace selinfo structure by klist in sockbuf. No reason to keep it,Vitaliy Makkoveev
2023-01-23Move SS_ISSENDING flag to `sb_state'. It should belong to the sendVitaliy Makkoveev
2023-01-23In somove() rename `state' variable to `rcvstate' to make code moreVitaliy 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