summaryrefslogtreecommitdiff
path: root/sys/kern/uipc_socket.c
AgeCommit message (Expand)Author
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
2021-07-26Pass a socket pointer to various socket buffer routines in preparation forMartin Pieuchot
2021-05-28Add f_modify and f_process callbacks to socket filterops.Visa Hankala
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm
2021-05-13Do `so_rcv' cleanup with sblock() held.mvs
2021-05-13Use NULL instead of 0 for mbuf(9) pointers.mvs
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-24In sorflush() use m_purge() instead of handrolling it.Alexander Bluhm
2021-02-18Release mbuf(9) chain with a simple m_freem(9) loop in sorflush().mvs
2021-01-17Replace SB_KNOTE and sb_flagsintr with direct checking of klist.Visa Hankala
2021-01-09If the loop check in somove(9) goes to release without setting anAlexander Bluhm
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-12Rename the macro MCLGETI to MCLGETL and removes the dead parameter ifp.jan
2020-11-17Fix handling of MSG_PEEK in soreceive() for the case where an emptyClaudio Jeker
2020-09-29Move the solock() call outside of solisten(). The reason is that theClaudio Jeker
2020-08-07sosplice(9): fully validate idle timeoutcheloha
2020-06-22Extend kqueue interface with EVFILT_EXCEPT filter.Martin Pieuchot
2020-06-18Compare `so' and `sosp' types just after `sosp' obtaining. We can't splicemvs
2020-06-15Set __EV_HUP when the conditions matching poll(2)'s POLLUP are found.Martin Pieuchot
2020-04-12In sosplice(), temporarily release the socket lock before callinganton