summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
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
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-11-28Simplify return path of (*pr_ctloutput)() return value in sogetopt().Vitaliy 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-09-04Use pru_send function to check socket splicing compatibility. OnlyAlexander Bluhm
2022-09-03Fix socket splicing between inet and inet6 sockets broken by PRU_CONTROLVitaliy Makkoveev
2022-08-28Don't check `so_pcb' with PR_WANTRCVD flag. tcp(4) sockets are the onlyVitaliy Makkoveev
2022-08-26Move PRU_RCVD request to (*pru_rcvd)().Vitaliy Makkoveev
2022-08-21Change soabort() return value to void. We never interesting on it.Vitaliy Makkoveev
2022-08-15Introduce 'pr_usrreqs' structure and move existing user-protocolVitaliy Makkoveev
2022-08-14remove unneeded includes in sys/kernJonathan Gray
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-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-16Reduce code duplication in socket event filters.Visa Hankala
2022-02-13Rename knote_modify() to knote_assign()Visa Hankala
2021-12-24Make poll/select version of filt_solisten() more similar to soo_poll().Visa Hankala
2021-12-13Revise EVFILT_EXCEPT filtersVisa Hankala
2021-11-11Destroy protocol control block before perform `so_q0' and `so_q' queuesVitaliy Makkoveev
2021-11-06Allocate socket and initialize so_lock in one placeVisa Hankala
2021-10-24Set klist lock for sockets to make socket event filters MP-safeVisa Hankala
2021-10-22Make EVFILT_EXCEPT handling separate from the read filter.Martin Pieuchot
2021-10-14Release solock() before call unp_externalize().Vitaliy Makkoveev